Skip to content

wip

wip #1

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install uv
uv pip compile pyproject.toml --extra ci | uv pip install --user -r -
- name: ruff check
run: ruff check --output-format=github .
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install uv
uv pip compile pyproject.toml --extra ci | uv pip install --user -r -
- name: ruff format
run: ruff format --diff .
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Python
# uses: actions/setup-python@v5
# with:
# python-version: "3.11" # matrix?
# - name: Install dependencies
# run: |
# python -m pip install uv
# uv pip compile pyproject.toml --extra test -o requirements.txt
# uv pip install -r requirements.txt
# - name: pytest
# run: pytest