Skip to content

Add checkpoint save/load system #856

Add checkpoint save/load system

Add checkpoint save/load system #856

Workflow file for this run

name: Run tests and upload coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test,rf]
- name: Test with pytest and generate coverage
run: |
pytest --cov=./src/pathsim --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pathsim/pathsim
fail_ci_if_error: true
files: ./coverage.xml