Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Feb 13, 2025
1 parent ebccf43 commit 2aec6fd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,19 @@ jobs:
- run:
name: Merge coverage files
command: |
conda create -n cov python=3.9 pip coverage
conda create -n cov python=<< parameters.python_version >> pip coverage
source activate cov
# We need curl for the codecov upload
apt-get update
apt-get install -y -qq curl
apt-get install -y gnupg
cd /home/circleci/src/coverage/
echo "Merge coverage files"
coverage combine --data-file=/home/circleci/src/coverage/.coverage
echo "Generate XML report"
coverage xml --data-file /home/circleci/src/coverage/.coverage -o /home/circleci/src/coverage/coverage.xml
echo "Upload to Codecov"
cd /home/circleci/src/coverage
coverage combine
coverage xml
- store_artifacts:
path: /home/circleci/src/coverage
- codecov/upload:
file: /home/circleci/src/coverage/coverage.xml

Expand Down

0 comments on commit 2aec6fd

Please sign in to comment.