Skip to content

Merge pull request #114 from freegs-plasma/fix-rtd #39

Merge pull request #114 from freegs-plasma/fix-rtd

Merge pull request #114 from freegs-plasma/fix-rtd #39

Workflow file for this run

name: Codecov workflow
on:
push:
branches:
- 'master'
jobs:
codecov:
name: Codecov Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Generate coverage report
run: |
sudo apt-get install libhdf5-serial-dev
python -m pip install --upgrade pip setuptools wheel
python -m pip install pytest pytest-cov
python -m pip install .[tests]
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests