Skip to content

Merge pull request #20 from LRydin/dev #33

Merge pull request #20 from LRydin/dev

Merge pull request #20 from LRydin/dev #33

Workflow file for this run

name: KramersMoyal CI
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, ubuntu-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Testing
run: |
coverage run -m pytest test/
- name: Upload code coverage
uses: codecov/codecov-action@v5