Skip to content

Commit 143e9ea

Browse files
Add tests in Github Actions CI
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 704f1ba commit 143e9ea

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests on supported Python versions
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
extensive_tests:
7+
name: Run tests on Python ${{ matrix.python }}
8+
runs-on: ${{ matrix.os }}
9+
defaults:
10+
run:
11+
shell: bash
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
16+
os: ["ubuntu-latest"]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "${{ matrix.python }}"
25+
26+
- name: Run tests
27+
run: make clean && make dev && make test

0 commit comments

Comments
 (0)