Skip to content

Commit

Permalink
Merge pull request #541 from ANTsX/code-cov
Browse files Browse the repository at this point in the history
Track code coverage
  • Loading branch information
Nick Cullen authored Feb 18, 2024
2 parents d55a9fa + 75389a8 commit be0fbc7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
- master

name: codecov

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5

- name: Install package
run: python -m pip install .

- name: Install coverage
run: python -m pip install coverage

- name: Unit tests
run: tests/run_tests.sh -c

- name: Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit be0fbc7

Please sign in to comment.