Modernize #73
Workflow file for this run
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
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.9'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Install coverage | |
run: pip install codecov | |
- name: Run tests | |
run: coverage run -m unittest discover -v nrrd/tests | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 |