Skip to content

Commit

Permalink
Split test runs in Github workflow into unit tests, integration test …
Browse files Browse the repository at this point in the history
…without and with db
  • Loading branch information
tkilias committed Aug 21, 2023
1 parent fbe0d91 commit a91afde
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ jobs:
- name: Build language container
run: ./build_language_container.sh

- name: Run Python unit tests
run: ./scripts/run_in_dev_env.sh poetry run pytest tests/unit_tests

- name: Run Python integration tests without db
run: ./scripts/run_in_dev_env.sh poetry run pytest tests/integration_tests/without_db

- name: Start test environment
run: bash ./scripts/start_integration_test_environment.sh

- name: Run Python tests
run: ./scripts/run_in_dev_env.sh poetry run pytest tests
- name: Run Python integration tests with db
run: ./scripts/run_in_dev_env.sh poetry run pytest tests/integration_tests/with_db

0 comments on commit a91afde

Please sign in to comment.