Skip to content

Adding pre-commit ruff checks and doing lint fixes #9

Adding pre-commit ruff checks and doing lint fixes

Adding pre-commit ruff checks and doing lint fixes #9

Workflow file for this run

name: Run Tests
on:
push:
branches: [ master, develop, test ]
pull_request:
branches: [ master, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv and activate the environment
uses: astral-sh/setup-uv@v6
with:
activate-environment: true
- name: Install dependencies
run: uv sync --frozen
- name: Lint with ruff
run: ruff check
- name: Test with pytest
run: pytest