Fix GitHub workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run integration tests without DB | |
on: [ push ] | |
jobs: | |
prepare_matrix: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.8 ] | |
runs-on: ubuntu-latest | |
steps: | |
- id: generate_integration_tests_without_db | |
name: "Generate list of integration tests without DB" | |
run: nox -s generate_integration_tests_without_db_matrix > "$GITHUB_OUTPUT" | |
outputs: | |
test_path: ${{ toJSON(steps.generate_integration_tests_without_db.outputs.config) }} | |
run_test: | |
needs: prepare_matrix | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.8 ] | |
config: ${{ fromJSON(needs.prepare_matrix.outputs.test_path) }} | |
runs-on: ubuntu-latest | |
name: Run ${{ matrix.test-path.name }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python & Poetry Environment | |
uses: ./.github/actions/prepare_poetry_env | |
- name: Poetry install | |
run: poetry nox -s run_in_dev_env -- poetry install | |
- name: Run Python integration tests without db | |
run: poetry nox -s run_python_test -- ${{ matrix.test-path.path }} | |