Skip to content

Actually run unit tests with pytest #58

Actually run unit tests with pytest

Actually run unit tests with pytest #58

Workflow file for this run

name: Pre-commit checks
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
# Checkout repo
- uses: actions/checkout@v4
# Setup Python
- uses: actions/setup-python@v5
with:
python-version: "3.10"
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
# Run pre-commit on all files
- name: Run pre-commit hooks
run: pre-commit run --all-files