Skip to content

Commit 3d53300

Browse files
committed
CI: Add test workflow
1 parent 5f37b23 commit 3d53300

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Check & Test Code
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
os-python-matrix:
8+
strategy:
9+
matrix:
10+
os:
11+
- name: macos
12+
icon: 🍏
13+
- name: ubuntu
14+
icon: 🐧
15+
- name: windows
16+
icon: 🪟
17+
python-version:
18+
- '3.10'
19+
- '3.11'
20+
- '3.12'
21+
- '3.13'
22+
- '3.14'
23+
24+
runs-on: ${{ matrix.os.name }}-latest
25+
name: ${{ matrix.os.icon }} Python ${{ matrix.python-version }}
26+
27+
steps:
28+
29+
- name: Checkout code
30+
uses: actions/checkout@v4
31+
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
37+
- name: Install uv
38+
uses: astral-sh/setup-uv@v6
39+
with:
40+
python-version: ${{ matrix.python-version }}
41+
42+
- name: Install dev and test packages
43+
run: pip install -e .[dev,test]
44+
45+
- name: Check and test code base
46+
run: make test

0 commit comments

Comments
 (0)