Skip to content

Commit

Permalink
Make failed unit tests stop running integration or notebook-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Apr 2, 2024
1 parent 7660cc8 commit d676d3c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/check_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,20 @@ jobs:
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env

- name: Run build ai-lab tests
- name: Run Unit Tests
run: >
poetry run pytest
--capture=no
--override-ini=log_cli=true
--override-ini=log_cli_level=INFO
test/unit
- name: Run Integration Tests
run: >
poetry run pytest
--capture=no
--override-ini=log_cli=true
--override-ini=log_cli_level=INFO
test/integration
env: # Set the secret as an env variable
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -80,6 +87,14 @@ jobs:
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env

- name: Run Unit Tests
run: >
poetry run pytest
--capture=no
--override-ini=log_cli=true
--override-ini=log_cli_level=INFO
test/unit
- name: Run notebook tests
run: >
poetry run pytest
Expand Down

0 comments on commit d676d3c

Please sign in to comment.