mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-03 11:59:24 +01:00
Split out the different tests into separate CI steps
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
This commit is contained in:
parent
688ee9a104
commit
c592596a5e
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user