File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ jobs:
20
20
steps :
21
21
- uses : " actions/checkout@v4"
22
22
23
- - uses : " actions /setup-python@v5 "
23
+ - uses : " pdm-project /setup-pdm@v4 "
24
24
with :
25
25
python-version : " ${{ matrix.python-version }}"
26
- allow-prereleases : true
26
+ allow-python-prereleases : true
27
+ cache : true
27
28
28
29
- name : " Run Tox"
29
30
run : |
30
- python -Im pip install --upgrade pip wheel pdm
31
31
python -Im pip install --upgrade tox tox-gh-actions
32
32
33
33
python -Im tox
71
71
echo "total=$TOTAL" >> $GITHUB_ENV
72
72
73
73
# Report again and fail if under the threshold.
74
- python -Im coverage report --fail-under=98
74
+ python -Im coverage report --fail-under=99
75
75
76
76
- name : " Upload HTML report."
77
77
uses : " actions/upload-artifact@v3"
@@ -100,12 +100,12 @@ jobs:
100
100
101
101
steps :
102
102
- uses : " actions/checkout@v4"
103
- - uses : " actions /setup-python@v5 "
103
+ - uses : " pdm-project /setup-pdm@v4 "
104
104
with :
105
105
python-version : " 3.12"
106
106
107
- - name : " Install pdm, check-wheel-content, and twine"
108
- run : " python -m pip install pdm twine check-wheel-contents"
107
+ - name : " Install check-wheel-content and twine"
108
+ run : " python -m pip install twine check-wheel-contents"
109
109
- name : " Build package"
110
110
run : " pdm build"
111
111
- name : " List result"
You can’t perform that action at this time.
0 commit comments