14
14
runs-on : ${{ matrix.operating-system }}
15
15
strategy :
16
16
matrix :
17
- operating-system : [ubuntu-latest, windows-latest ]
17
+ operating-system : [ubuntu-latest]
18
18
steps :
19
19
- name : Checkout
20
20
uses : actions/checkout@v2
@@ -31,71 +31,14 @@ jobs:
31
31
- name : Lint
32
32
run : npm run format-check
33
33
34
- - name : npm test
35
- run : npm test
36
-
37
- - name : Run with setup-python 2.7
38
- uses : ./
39
- with :
40
- python-version : 2.7
41
- - name : Verify 2.7
42
- run : python __tests__/verify-python.py 2.7
43
-
44
- - name : Run with setup-python 3.5
45
- uses : ./
46
- with :
47
- python-version : 3.5
48
- - name : Verify 3.5
49
- run : python __tests__/verify-python.py 3.5
50
-
51
- - name : Run with setup-python 3.6
52
- uses : ./
53
- with :
54
- python-version : 3.6
55
- - name : Verify 3.6
56
- run : python __tests__/verify-python.py 3.6
57
-
58
- - name : Run with setup-python 3.7
59
- uses : ./
34
+ - uses : actions/checkout@v3
35
+ - name : Install poetry
36
+ run : pipx install poetry==1.1.15
37
+
38
+ - uses : actions/setup-python@v4
60
39
with :
61
- python-version : 3.7
62
- - name : Verify 3.7
63
- run : python __tests__/verify-python.py 3.7
40
+ python-version : ' 3.9'
41
+ cache : ' poetry'
42
+ - run : poetry install
43
+ - run : poetry run pytest
64
44
65
- - name : Run with setup-python 3.8
66
- uses : ./
67
- with :
68
- python-version : 3.8
69
- - name : Verify 3.8
70
- run : python __tests__/verify-python.py 3.8
71
-
72
- - name : Run with setup-python 3.7.5
73
- uses : ./
74
- with :
75
- python-version : 3.7.5
76
- - name : Verify 3.7.5
77
- run : python __tests__/verify-python.py 3.7.5
78
-
79
- - name : Run with setup-python 3.6.7
80
- uses : ./
81
- with :
82
- python-version : 3.6.7
83
- - name : Verify 3.6.7
84
- run : python __tests__/verify-python.py 3.6.7
85
-
86
- - name : Run with setup-python 3.8.1
87
- uses : ./
88
- with :
89
- python-version : 3.8.1
90
- - name : Verify 3.8.1
91
- run : python __tests__/verify-python.py 3.8.1
92
-
93
- - name : Run with setup-python 3.10
94
- id : cp310
95
- uses : ./
96
- with :
97
- python-version : " 3.10"
98
- - name : Verify 3.10
99
- run : python __tests__/verify-python.py 3.10
100
- - name : Run python-path sample 3.10
101
- run : pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
0 commit comments