8000 Improve documentation and code quality (#314) · phasorpy/phasorpy@3d0e71c · GitHub
[go: up one dir, main page]

Skip to content

Improve documentation and code quality (#314) #16

Improve documentation and code quality (#314)

Improve documentation and code quality (#314) #16

Workflow file for this run

name: Code coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
code_coverage:
name: Code coverage
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Editable install
run: |
python -m pip install --upgrade pip
python -m pip install --editable .
python -m pip install --upgrade --group optional --group test --group minimal
# python -m pip install --upgrade mkl-fft
- name: Generate coverage report
run: |
python -X dev -m pytest --cov=phasorpy --cov-report=xml tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
env_vars: OS,PYTHON
fail_ci_if_error: false
token: ${{ secrets.PHASORPY_CODECOV_TOKEN }}
verbose: true
0