Skip to content

Improve benchmarks

Improve benchmarks #4

Workflow file for this run

name: Run tests
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.12]
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pdm
run: pip install pdm
- name: pre-commit checks
uses: pre-commit/[email protected]
- name: Run tests
run: |
pdm install --dev
pdm run pytest tests --cov=src
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3