-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 779 Bytes
/
ci-python.yml
File metadata and controls
42 lines (35 loc) · 779 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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Continuous Integration for Python
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test main package
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
- "3.14"
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Check out the code
uses: actions/checkout@v6
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: make setup-ci
- name: Static analysis on tests
run: make lint