Skip to content

Commit aedeed0

Browse files
committed
Add test CI
1 parent 9e72fc4 commit aedeed0

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/run_test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
9+
jobs:
10+
run-tests:
11+
name: "Test (${{ matrix.os }}, Python ${{ matrix.python-version }})"
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, macos-latest, windows-latest]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v5
22+
23+
- name: Set up Python
24+
uses: actions/setup-python@v6
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install Python requirements
29+
run: pip install --upgrade --upgrade-strategy eager .
30+
31+
- name: Install pytest
32+
run: pip install pytest
33+
34+
- name: Run tests
35+
run: pytest

0 commit comments

Comments
 (0)