Skip to content

Adds coverage checking. #15

Adds coverage checking.

Adds coverage checking. #15

Workflow file for this run

name: Python Math Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
run-math-tests:
name: Run Math Tests
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install --upgrade pip
- run: pip install pip-tools
- run: pip-sync
- run: python -m pytest --cov --cov-report=xml
- uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml