Skip to content

Fixing GitHub workflows #14

Fixing GitHub workflows

Fixing GitHub workflows #14

Workflow file for this run

name: Testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest] # TODO: extend with windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pdm install --no-lock -v -G tests
- name: Test with pytest
run: |
cd tests/
pdm run -v pytest .