Skip to content

Merge pull request #89 from UCL-CCS/utils_update #540

Merge pull request #89 from UCL-CCS/utils_update

Merge pull request #89 from UCL-CCS/utils_update #540

name: Testing and Coverage
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Testing and Coverage
steps:
- uses: actions/checkout@v1
- name: Installation
run: |
python -m pip install --upgrade pip
pip install .
- name: Run tests and collect coverage
run: |
pip install codecov
pip install pytest-cov
pytest --cov=./ --cov-report=xml
codecov
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: ./coverage/reports/
env_vars: OS,PYTHON
files: /home/runner/work/symmer/symmer/coverage.xml
flags: tests