Skip to content

changing error bound back because inconsistency between local and clo… #389

changing error bound back because inconsistency between local and clo…

changing error bound back because inconsistency between local and clo… #389

Workflow file for this run

on:
push:
branches:
- master
pull_request:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # important for Coveralls to read commit history
- uses: actions/setup-python@v5
with:
python-version: '3.13' # because cvxopt binaries for 3.14 don't yet exist, and building is terrible
- name: tests and coverage
run: | # some extra stuff here to make sure coverage works across multiprocessing
pip install -e .[advanced,dev] coveralls
touch .coveragerc
echo "[run]" > .coveragerc
echo "concurrency = multiprocessing" >> .coveragerc
echo "parallel = true" >> .coveragerc
export COVERAGE_PROCESS_START=.coveragerc
coverage run --parallel-mode --source=pynumdiff --omit="pynumdiff/_version.py,pynumdiff/tests/*,pynumdiff/utils/old_pi_cruise_control.py" -m pytest -s
coverage combine
coverage xml
- uses: coverallsapp/github-action@v2
with:
format: cobertura
file: coverage.xml