Skip to content

cli: exit with error code if lint fails #27

cli: exit with error code if lint fails

cli: exit with error code if lint fails #27

Workflow file for this run

name: tests
on:
push:
branches: [main]
paths:
- '.github/workflows/tests.yml'
- 'src/olm/**.py'
- 'pyproject.toml'
- 'uv.lock'
pull_request:
paths:
- '.github/workflows/tests.yml'
- 'src/olm/**.py'
- 'pyproject.toml'
- 'uv.lock'
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup uv
run: curl -LsSf https://astral.sh/uv/0.4.7/install.sh | sh
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest