Skip to content

Merge pull request #12 from pheuer/reader_cpsa_footer #89

Merge pull request #12 from pheuer/reader_cpsa_footer

Merge pull request #12 from pheuer/reader_cpsa_footer #89

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: Tests Python 3.12 - Ubuntu
os: ubuntu-latest
python-version: '3.12'
run-codecov: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -e .
- name: Test with pytest
run: |
pytest --cov --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
if: ${{ matrix.run-codecov }}
with:
fail_ci_if_error: false
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}