-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 889 Bytes
/
ci.yml
File metadata and controls
29 lines (28 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on:
push:
branches: [main]
pull_request:
workflow_call:
jobs:
lint-and-test:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.13"
- run: uv sync --locked --all-extras --dev
- name: Lint
run: uv run ruff check .
- name: Format check
run: uv run ruff format --check .
- name: Type check
run: uv run mypy src/
- name: Test
run: uv run pytest -n auto --cov=flameconnect --cov-report=term-missing --tb=short --cov-fail-under=95
- name: Mutation test
run: uv run mutmut run --max-children 4