Skip to content

Merge pull request #1 from flamehaven01/codex/fix-lint-errors-in-code… #25

Merge pull request #1 from flamehaven01/codex/fix-lint-errors-in-code…

Merge pull request #1 from flamehaven01/codex/fix-lint-errors-in-code… #25

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e . || pip install .
pip install pytest ruff
- name: Lint
run: ruff check .
- name: Test
env:
PYTHONPATH: src
run: pytest -q