File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : tests
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os || 'ubuntu-latest' }}
12
+ strategy :
13
+ matrix :
14
+ include :
15
+ - python : " 3.6"
16
+ env : py36-fastapi68
17
+ os : ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
18
+ - python : " 3.8"
19
+ env : py38-fastapi68
20
+ - python : " 3.10"
21
+ env : py310-fastapi68
22
+ - python : " 3.11"
23
+ env : py311-fastapi68
24
+
25
+ - python : " 3.7"
26
+ env : py37-fastapi84
27
+ - python : " 3.9"
28
+ env : py39-fastapi84
29
+ - python : " 3.10"
30
+ env : py310-fastapi84
31
+ - python : " 3.11"
32
+ env : py311-fastapi84
33
+
34
+ - python : " 3.7"
35
+ env : py37-fastapi99
36
+ - python : " 3.9"
37
+ env : py39-fastapi99
38
+ - python : " 3.10"
39
+ env : py310-fastapi99
40
+ - python : " 3.11"
41
+ env : py311-fastapi99
42
+
43
+ steps :
44
+ - uses : actions/checkout@v2
45
+ - name : Set up Python ${{ matrix.python }}
46
+ uses : actions/setup-python@v2
47
+ with :
48
+ python-version : ${{ matrix.python }}
49
+ - name : Install dependencies
50
+ run : |
51
+ pip install --upgrade pip
52
+ sh build.sh
53
+ pip install tox tox-gh-actions
54
+ - name : Run tests using tox
55
+ run : tox -e ${{ matrix.env }}
You can’t perform that action at this time.
0 commit comments