Skip to content

fix tests

fix tests #338

Workflow file for this run

name: ci-pipeline
on:
push:
jobs:
hooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup venv
uses: ./.github/actions/setup-venv
with:
python-version: "3.11"
os-name: "ubuntu-latest"
optional-dependencies: "[dev]"
- name: Run pre-commit on all files
run: |
pre-commit run --all-files --show-diff-on-failure
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup venv
uses: ./.github/actions/setup-venv
with:
python-version: "3.11"
os-name: "ubuntu-latest"
optional-dependencies: "[test,optimize]"
- name: Run all tests
run: |
pytest