-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (35 loc) · 837 Bytes
/
build.yml
File metadata and controls
39 lines (35 loc) · 837 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
name: Build
on:
push:
branches: [ "main", "release"]
paths:
- '.github/workflows/build.yml'
- 'src/**'
- 'Makefile'
- 'pyproject.toml'
- 'uv.lock'
pull_request:
branches: [ "main", "release"]
paths:
- '.github/workflows/build.yml'
- 'src/**'
- 'Makefile'
- 'pyproject.toml'
- 'uv.lock'
jobs:
test_build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v6
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Local build checking
run: make build