-
Notifications
You must be signed in to change notification settings - Fork 18
26 lines (23 loc) · 748 Bytes
/
test.yml
File metadata and controls
26 lines (23 loc) · 748 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
name: Tests
on:
push:
branches: [dev, master, "feature/**"]
pull_request:
branches: [dev, master, "feature/**"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
- run: uv python install ${{ matrix.python-version }}
- run: uv sync --all-groups --python ${{ matrix.python-version }}
- run: uv run ruff check .
- run: uv run ruff format --check .
- run: uv run pyrefly check
- run: uv run pytest --cov --cov-report=term-missing