Skip to content

Add simple benchmarking to the project #16

Add simple benchmarking to the project

Add simple benchmarking to the project #16

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 .