initial release #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 venv | |
uv pip compile pyproject.toml --extra ci | uv pip install -r - | |
- name: ruff check | |
run: .venv/bin/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 venv | |
uv pip compile pyproject.toml --extra ci | uv pip install -r - | |
- name: ruff format | |
run: .venv/bin/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 |