Skip to content
Snippets Groups Projects
Commit 5957334c authored by Jithu Murugan's avatar Jithu Murugan
Browse files

- Corrected the failing tests.

parent ecdff057
No related branches found
No related tags found
2 merge requests!6ci(dedal): implement coverage calculation for the library,!4feat(spack_operation): implement setup_spack_env functionality
Pipeline #59641 failed with stages
in 26 minutes and 20 seconds
......@@ -32,10 +32,14 @@ unit_tests:
- ./dedal/utils/bootstrap.sh
- pip install -e .[test]
script:
- coverage run s --tb=short --junitxml=test-results.xml -m pytest ./dedal/tests/unit_tests
- coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/unit_tests
- coverage xml -o coverage_unit.xml
artifacts:
when: always
reports:
junit: test-results.xml
paths:
- test-results.xml
- coverage_unit.xml
expire_in: 1 week
......@@ -49,11 +53,15 @@ integration_tests:
- ./dedal/utils/bootstrap.sh
- pip install -e .[test]
script:
- coverage run s --tb=short --junitxml=test-results.xml -m pytest ./dedal/tests/integration_tests
- coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/integration_tests
- coverage xml -o coverage_integration.xml
needs: ["unit_tests"]
artifacts:
when: always
reports:
junit: test-results.xml
paths:
- test-results.xml
- coverage_integration.xml
expire_in: 1 week
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment