Skip to content

Commit 2bba989

Browse files
committed
Add Github actions for unit-testing
1 parent 89e6f2b commit 2bba989

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run unit-tests
2+
on: push
3+
4+
jobs:
5+
unit-testing:
6+
runs-on: ubuntu-latest
7+
8+
strategy:
9+
matrix:
10+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
- name : Install
21+
run : pip install -e .
22+
23+
- name : Install testing requirements
24+
run : pip install -r requirements-testing.txt
25+
26+
- name : Run tests
27+
run : nose2 -v

0 commit comments

Comments
 (0)