Skip to content

Modernize

Modernize #73

Workflow file for this run

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