Skip to content

Commit e227be0

Browse files
committed
add ci
1 parent 33e4b51 commit e227be0

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.9", "3.10", "3.11", "3.12"]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
# You can test your matrix by printing the current Python version
20+
- name: Test with pytest
21+
run: pytest --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml

0 commit comments

Comments
 (0)