Skip to content

Commit eb652a3

Browse files
committed
TST: Add test
1 parent 9e6cd3e commit eb652a3

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Test Build
2+
3+
on:
4+
push:
5+
branches: ["run-test/**"]
6+
7+
jobs:
8+
build:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
os:
14+
- ubuntu-22.04
15+
- ubuntu-22.04-arm
16+
- macos-15
17+
- macos-15-intel
18+
- windows-2022
19+
- windows-11-arm
20+
python-version:
21+
- "3.11"
22+
- "3.13"
23+
- "3.14"
24+
25+
steps:
26+
- uses: actions/checkout@v7
27+
with:
28+
fetch-depth: 0
29+
submodules: true
30+
- name: Set up Python ${{ matrix.python-version }}
31+
uses: actions/setup-python@v7
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
- name: Build
35+
run: |
36+
python -m pip install --upgrade pip
37+
python -m pip install --verbose --editable .
38+
- name: Install dependencies
39+
run: |
40+
python -m pip install -r requirements.txt
41+
python -m pip install "setuptools<82"
42+
- name: Test with pytest
43+
run: |
44+
cd demo
45+
python demo.py
46+
cd ..

0 commit comments

Comments
 (0)