Skip to content

Commit c4cac88

Browse files
added version check
1 parent 964a19d commit c4cac88

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Version check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
9+
test_3.4:
10+
runs-on: ubuntu-18.04
11+
strategy:
12+
matrix:
13+
python-version: [3.4.10]
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v3
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Run tests
21+
run: |
22+
python -m unittest discover tests
23+
24+
test:
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
python-version: [ 3.5.4, 3.6.7, 3.7.1, 3.8.0, 3.9.0, 3.10.1, 3.11.0, 3.12.0]
29+
steps:
30+
- uses: actions/checkout@v3
31+
- name: Set up Python ${{ matrix.python-version }}
32+
uses: actions/setup-python@v3
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
- name: Run tests
36+
run: |
37+
python -m unittest discover tests

0 commit comments

Comments
 (0)