Skip to content

Merge branch 'dev' into gwm17_dev #410

Merge branch 'dev' into gwm17_dev

Merge branch 'dev' into gwm17_dev #410

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
- '!gh-pages'
jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install deps
run: pdm install
- name: Run tests
run: pdm run -v pytest tests
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.11'
- name: Install deps
run: pdm install
- name: Check format
run: pdm run ruff format --check ./src
check-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.11'
- name: Install deps
run: pdm install
- name: Lint Code
run: pdm run ruff check ./src