Skip to content

Commit

Permalink
Split out the different tests into separate CI steps
Browse files Browse the repository at this point in the history
Signed-off-by: Bas Zoetekouw <[email protected]>
  • Loading branch information
baszoetekouw committed Mar 9, 2024
1 parent 688ee9a commit c592596
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ jobs:
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
- name: Test with unittest
- name: Run tests in tests/
run: |
coverage run --source podman_compose -m unittest pytests/*.py
python -m unittest tests/*.py
coverage combine
coverage report
env:
TESTS_DEBUG: 1
- name: Run tests in pytests/
run: |
coverage run --source podman_compose -m unittest pytests/*.py
- name: Report coverage
run: |
coverage combine
coverage report

0 comments on commit c592596

Please sign in to comment.