MNT edits for paper revision #98
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: build | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: install | |
run: | | |
pip install -U pip | |
pip install -e . | |
- name: test | |
run: | | |
pip install pytest pytest-cov coverage numpydoc codecov | |
pytest -lv --cov-report term-missing iterreg --cov=iterreg --cov-config .coveragerc | |
codecov | |
- name: codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
files: .coveragerc | |
flags: unittests | |
fail_ci_if_error: true | |
verbose: true |