20
20
python-version : ['3.9', '3.10', '3.11', '3.12']
21
21
os : [windows-latest, macOS-latest, ubuntu-latest]
22
22
steps :
23
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@v4
24
24
- name : Set up Python
25
- uses : actions/setup-python@v4
25
+ uses : actions/setup-python@v5
26
26
with :
27
27
python-version : ${{ matrix.python-version }}
28
28
- name : Install dependencies
36
36
python setup.py bdist_wheel
37
37
ls dist/*
38
38
- name : Save wheel
39
- uses : actions/upload-artifact@v3
39
+ uses : actions/upload-artifact@v4
40
40
with :
41
41
name : pecos_${{ matrix.python-version }}_${{ matrix.os }}.whl
42
42
path : dist/pecos*
@@ -47,14 +47,14 @@ jobs:
47
47
strategy :
48
48
matrix :
49
49
python-version : ['3.9', '3.10', '3.11', '3.12']
50
- os : [windows-latest, macOS-latest, ubuntu-latest]
50
+ os : [windows-latest, macOS-latest, ubuntu-latest]
51
51
steps :
52
52
- name : Set up Python
53
- uses : actions/setup-python@v4
53
+ uses : actions/setup-python@v5
54
54
with :
55
55
python-version : ${{ matrix.python-version }}
56
56
- name : Download wheel
57
- uses : actions/download-artifact@v3
57
+ uses : actions/download-artifact@v4
58
58
with :
59
59
name : pecos_${{ matrix.python-version }}_${{ matrix.os }}.whl
60
60
- name : Install pecos
73
73
python-version : ['3.9', '3.10', '3.11', '3.12']
74
74
os : [windows-latest, macOS-latest, ubuntu-latest]
75
75
steps :
76
- - uses : actions/checkout@v2
76
+ - uses : actions/checkout@v4
77
77
- name : Set up Python ${{ matrix.python-version }}
78
- uses : actions/setup-python@v4
78
+ uses : actions/setup-python@v5
79
79
with :
80
80
python-version : ${{ matrix.python-version }}
81
81
- name : Install dependencies
92
92
env :
93
93
COVERAGE_FILE : .coverage.${{ matrix.python-version }}.${{ matrix.os }}
94
94
- name : Save coverage
95
- uses : actions/upload-artifact@v2
95
+ uses : actions/upload-artifact@v4
96
96
with :
97
97
name : coverage
98
98
path : .coverage.${{ matrix.python-version }}.${{ matrix.os }}
@@ -102,17 +102,17 @@ jobs:
102
102
runs-on : ubuntu-latest
103
103
steps :
104
104
- name : Set up Python
105
- uses : actions/setup-python@v4
105
+ uses : actions/setup-python@v5
106
106
with :
107
107
python-version : 3.11
108
- - uses : actions/checkout@v2
108
+ - uses : actions/checkout@v4
109
109
- name : Install coverage
110
110
run : |
111
111
python -m pip install --upgrade pip
112
112
pip install -r requirements.txt
113
113
python -m pip install -e .
114
114
- name : Download coverage artifacts from test matrix
115
- uses : actions/download-artifact@v2
115
+ uses : actions/download-artifact@v4
116
116
with :
117
117
name : coverage
118
118
- name : Setup coverage and combine reports
@@ -131,12 +131,12 @@ jobs:
131
131
coverage json --pretty-print
132
132
coverage html --show-contexts
133
133
- name : Save coverage JSON
134
- uses : actions/upload-artifact@v2
134
+ uses : actions/upload-artifact@v4
135
135
with :
136
136
name : coverage
137
137
path : coverage.json
138
138
- name : Save coverage html
139
- uses : actions/upload-artifact@v2
139
+ uses : actions/upload-artifact@v4
140
140
with :
141
141
name : coverage
142
142
path : htmlcov
@@ -147,10 +147,10 @@ jobs:
147
147
continue-on-error : true
148
148
steps :
149
149
- name : Set up Python
150
- uses : actions/setup-python@v4
150
+ uses : actions/setup-python@v5
151
151
with :
152
152
python-version : 3.11
153
- - uses : actions/checkout@v2
153
+ - uses : actions/checkout@v4
154
154
- name : Install coverage
155
155
run : |
156
156
python -m pip install --upgrade pip
0 commit comments