diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 8215e83e..cf25b1c1 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -16,42 +16,28 @@ concurrency: cancel-in-progress: true jobs: - unit: + integration: name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest + timeout-minutes: 30 strategy: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11"] - env: - DBT_INVOCATION_ENV: github-actions - DBT_TEST_USER_1: dbt_test_user_1 - DBT_TEST_USER_2: dbt_test_user_2 - DBT_TEST_USER_3: dbt_test_user_3 - steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 + + - name: Set up postgres + uses: ./.github/actions/setup-postgres-linux - name: Setup `hatch` uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@config/release with: python-version: ${{ matrix.python-version }} - - name: Set up postgres (linux) - if: runner.os == 'Linux' - uses: ./.github/actions/setup-postgres-linux - - - name: Set up postgres (macos) - if: runner.os == 'macOS' - uses: ./.github/actions/setup-postgres-macos - - - name: Set up postgres (windows) - if: runner.os == 'Windows' - uses: ./.github/actions/setup-postgres-windows - - name: Run integration tests run: hatch run integration-tests:all shell: bash