-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtests.yml
More file actions
36 lines (31 loc) · 784 Bytes
/
tests.yml
File metadata and controls
36 lines (31 loc) · 784 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
name: Unit tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
python:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
# cache: "uv" # Wait on https://github.com/actions/setup-python/pull/818 to be merged
# cache-dependency-path: pyproject.toml
- name: install uv
run: >
curl --no-progress-meter --location --fail
--proto '=https' --tlsv1.2
"https://astral.sh/uv/install.sh"
| sh
- name: test
run: make test INSTALL_EXTRA=test