Skip to content

Commit

Permalink
Fix codacy coverage #14
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgomera committed Jan 19, 2023
1 parent 0fa56ca commit 0d8ab3d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
name: Run tests
# This assumes coverage is installed via the install-package step above
command: coverage3 run tests/
- run:
name: Get coverage data en xml format
# This assumes coverage is installed via the install-package step above
command: coverage3 xml
- run:
name: Export data to coveralls
# This assumes coverage is installed via the install-package step above
Expand All @@ -51,7 +55,7 @@ jobs:
# This assumes codecov is installed via the install-package step above
command: codecov
- store_artifacts:
path: .coverage
path: coverage.xml

# - run:
# name: Export data to codacy
Expand All @@ -64,7 +68,7 @@ jobs:
- checkout
# - run commands to generate the coverage result
- coverage-reporter/send_report:
coverage-reports: '.coverage'
coverage-reports: 'coverage.xml'
project-token: $CODACY_PROJECT_TOKEN

# Invoke jobs via workflows
Expand Down

0 comments on commit 0d8ab3d

Please sign in to comment.