Skip to content

Commit

Permalink
change cov name
Browse files Browse the repository at this point in the history
  • Loading branch information
ktactac-ornl committed Jan 6, 2025
1 parent 8b07716 commit 56fac7e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ jobs:
- name: test preparation
run: |
versioningit -vw
mkdir .coverage.d
mkdir .results.d
git lfs pull
git submodule update --init --recursive
- name: run unit tests
run: |
echo "running unit tests"
python -m pytest -m "not mount_eqsans" -vv --dist loadscope -n 2 --cov=src --cov-report=xml:.coverage.d/unit.xml --cov-report=term --junitxml=./.results.d/unit.xml tests/unit/
python -m pytest -m "not mount_eqsans" -vv --dist loadscope -n 2 --cov=src --cov-report=xml:unit_test_coverage.xml --cov-report=term --junitxml=unit_test_results.xml tests/unit/
- name: run integration tests
run: |
echo "running integration tests"
python -m pytest -m "not mount_eqsans" -vv --dist loadscope -n 2 --cov=src --cov-report=xml:.coverage.d/integration.xml --cov-report=term --junitxml=./.results.d/integration.xml tests/integration/
python -m pytest -m "not mount_eqsans" -vv --dist loadscope -n 2 --cov=src --cov-report=xml:integration_test_coverage.xml --cov-report=term --junitxml=integration_test_results.xml tests/integration/
- name: upload coverage to codecov
uses: codecov/codecov-action@v5
if:
github.actor != 'dependabot[bot]'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: .coverage.d/
files: |
unit_test_coverage.xml
integration_test_coverage.xml
- name: build conda package
run: |
# test that the conda package builds
Expand Down

0 comments on commit 56fac7e

Please sign in to comment.