Bump version to v1.1.1 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
pull_request: | |
branches: [main] | |
paths: [ 'pyclugen/**', 'tests/**', '.github/workflows/cov.yml' ] | |
push: | |
branches: [main] | |
paths: [ 'pyclugen/**', 'tests/**', '.github/workflows/cov.yml' ] | |
tags: '*' | |
workflow_dispatch: | |
jobs: | |
determine-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Setup latest Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pip install pip --upgrade | |
pip install .[dev] | |
- name: Test with pytest and create coverage report | |
run: pytest --cov=pyclugen --cov-report=xml --test-level=ci | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.xml |