Skip to content

chore: add ci workflow #1

chore: add ci workflow

chore: add ci workflow #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
prepare:
- name: python version

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "0.6.2"
enable-cache: true
- name: Install dependencies
run: |
uv sync --only-group dev
- name: Lint
run: uv run ruff check uringloop tests
- name: Run tests
run: pytest tests/ -v