From d48cd22f80e41f281a15065f488aa851f0b0b4a7 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Tue, 26 Mar 2024 13:47:28 -0700 Subject: [PATCH] Pare down spark testing. --- .github/workflows/release-internal.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-internal.yml b/.github/workflows/release-internal.yml index 4652977c7..6776e342f 100644 --- a/.github/workflows/release-internal.yml +++ b/.github/workflows/release-internal.yml @@ -39,24 +39,19 @@ env: jobs: run-unit-tests: - name: unit test / python ${{ matrix.python-version }} + name: "Unit tests" runs-on: ubuntu-latest timeout-minutes: 10 - strategy: - fail-fast: false - matrix: - python-version: ["3.8"] - steps: - - name: Check out the repository + - name: "Check out the repository" uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: "Set up Python ${{ env.PYTHON_TARGET_VERSION }}" uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "${{ env.PYTHON_TARGET_VERSION }}" - name: Install python dependencies run: | @@ -72,7 +67,8 @@ jobs: run: python -m pytest --color=yes --csv unit_results.csv -v tests/unit run-integration-tests: - name: ${{ matrix.test }} + name: "${{ matrix.test }}" + needs: [run-unit-tests] runs-on: ubuntu-latest strategy: @@ -129,12 +125,12 @@ jobs: python -m pip --version python -m pip install -r dagger/requirements.txt - - name: Run tests for ${{ matrix.test }} + - name: "Run tests for ${{ matrix.test }}" run: python dagger/run_dbt_spark_tests.py --profile ${{ matrix.test }} invoke-reusable-workflow: name: "Build and Release Internally" - needs: [run-unit-tests, run-integration-tests] + needs: [run-integration-tests] uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow"