Skip to content

Bump version: 0.4.0 → 0.5.0 #54

Bump version: 0.4.0 → 0.5.0

Bump version: 0.4.0 → 0.5.0 #54

Workflow file for this run

name: Coverage
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Test with pytest
run: |
python -m pip install --upgrade pip pycdfpp
pip install -e .
pip install -r requirements_dev.txt
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
pytest --cov=./ --cov-report=xml
make doctest
- name: Upload coverage to Codecov
if: matrix.python-version == '3.8'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true