update example figure for readme #33
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: Coverage via codecov | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Generate coverage report | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pytest-cov pytest-mpl coverage docopt | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
pip install scipy | |
export MPL_IMGCOMP_TOLERANCE=20 | |
coverage run -m pytest --doctest-modules --mpl --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
# directory: ./coverage/reports/ | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: true | |
path_to_write_report: ./codecov_report.gz |