mirror of
https://github.com/bec-project/bec_atlas.git
synced 2025-07-14 07:01:48 +02:00
ci: fixed coverage report
This commit is contained in:
@ -75,8 +75,8 @@ backend_pytest:
|
|||||||
needs: []
|
needs: []
|
||||||
script:
|
script:
|
||||||
- pip install ./backend[dev]
|
- pip install ./backend[dev]
|
||||||
- pip install coverage
|
- pip install coverage pytest-asyncio
|
||||||
- coverage run --concurrency=thread --source=./backend/bec_atlas -m pytest -v --junitxml=report.xml --skip-docker --random-order --full-trace ./backend/tests
|
- coverage run --concurrency=thread --source=./backend --omit=*/backend/tests/* -m pytest -v --junitxml=report.xml --skip-docker --random-order --full-trace ./backend/tests
|
||||||
- coverage report
|
- coverage report
|
||||||
- coverage xml
|
- coverage xml
|
||||||
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||||
|
0
backend/tests/__init__.py
Normal file
0
backend/tests/__init__.py
Normal file
Reference in New Issue
Block a user