Skip to content

Commit f4b7b47

Browse files
committed
Add github workflow
1 parent 4ec9ed6 commit f4b7b47

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Python package
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: pip install tox tox-gh
22+
- name: Test with tox
23+
run: tox --skip-missing-interpreters

0 commit comments

Comments
 (0)