mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-29 22:49:09 +02: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
|
python -m pip install --upgrade pip
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
if [ -f test-requirements.txt ]; then pip install -r test-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: |
|
run: |
|
||||||
coverage run --source podman_compose -m unittest pytests/*.py
|
|
||||||
python -m unittest tests/*.py
|
python -m unittest tests/*.py
|
||||||
coverage combine
|
|
||||||
coverage report
|
|
||||||
env:
|
env:
|
||||||
TESTS_DEBUG: 1
|
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…
x
Reference in New Issue
Block a user