Skip to content

Feat/update to uv

Feat/update to uv #49

Workflow file for this run

name: CI
on:
pull_request:
branches:
- "main"
- "dev"
jobs:
tests:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install the project
run: |
uv sync --all-extras --dev
uv pip install .
- name: Run tests
run: |
uv run pytest -vv --cov=headline --cov-report term-missing --cov-fail-under=80