Skip to content

Merge branch 'release/0.2.0' #2

Merge branch 'release/0.2.0'

Merge branch 'release/0.2.0' #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.10'
- name: build PQAnalysis
run: |
pip install .[test]
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
python -m pytest --cov=PQAnalysis --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
verbose: true