Skip to content

Commit 0d8ab3d

Browse files
committed
Fix codacy coverage #14
1 parent 0fa56ca commit 0d8ab3d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
name: Run tests
4343
# This assumes coverage is installed via the install-package step above
4444
command: coverage3 run tests/
45+
- run:
46+
name: Get coverage data en xml format
47+
# This assumes coverage is installed via the install-package step above
48+
command: coverage3 xml
4549
- run:
4650
name: Export data to coveralls
4751
# This assumes coverage is installed via the install-package step above
@@ -51,7 +55,7 @@ jobs:
5155
# This assumes codecov is installed via the install-package step above
5256
command: codecov
5357
- store_artifacts:
54-
path: .coverage
58+
path: coverage.xml
5559

5660
# - run:
5761
# name: Export data to codacy
@@ -64,7 +68,7 @@ jobs:
6468
- checkout
6569
# - run commands to generate the coverage result
6670
- coverage-reporter/send_report:
67-
coverage-reports: '.coverage'
71+
coverage-reports: 'coverage.xml'
6872
project-token: $CODACY_PROJECT_TOKEN
6973

7074
# Invoke jobs via workflows

0 commit comments

Comments
 (0)