Skip to content

update example figure for readme #33

update example figure for readme

update example figure for readme #33

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