Merge pull request #543 from ANTsX/codecov_wd #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'Branch name' | |
required: true | |
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 |