-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.15 KB
/
ci.yml
File metadata and controls
42 lines (40 loc) · 1.15 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Install uv and set the python version
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b #v7.3.0
with:
version: "0.8.2"
python-version: "3.10"
- name: Bootstrap venv
run: make init
- name: Run tests
run: make lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
name: Run tests (Python ${{ matrix.python-version }})
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Install uv and set the python version
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b #v7.3.0
with:
version: "0.8.2"
python-version: ${{ matrix.python-version }}
- name: Bootstrap venv
run: make init
- name: Run test suite
run: uv run tox -e ${{ matrix.python-version }}