File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ on: [push, pull_request]
8
8
jobs :
9
9
build :
10
10
runs-on : [self-hosted, linux, ARM64]
11
+ strategy :
12
+ matrix :
13
+ python : ['3.10', '3.9', '3.8']
11
14
12
15
steps :
13
16
- uses : actions/checkout@v2
@@ -19,24 +22,22 @@ jobs:
19
22
3.1.x
20
23
6.0.x
21
24
22
- - name : Create virtualenv
23
- run : |
24
- virtualenv -p python3 venv
25
+ - name : Set up Python ${{ matrix.python }}
26
+ uses : actions/setup-python@v2
27
+ with :
28
+ python-version : ${{ matrix.python }}
25
29
26
30
- name : Install dependencies
27
31
run : |
28
- source venv/bin/activate
29
32
python -m pip install --upgrade pip
30
33
pip install pytest cffi
31
34
32
35
# Assumes recent Mono
33
36
34
37
- name : Build
35
38
run : |
36
- source venv/bin/activate
37
39
pip install -e .
38
40
39
41
- name : Test with pytest
40
42
run : |
41
- source venv/bin/activate
42
43
pytest
You can’t perform that action at this time.
0 commit comments