1
1
name : " python tests and coverage"
2
2
# Uses:
3
- # https://github.com/actions/setup-python
4
- # https://github.com/actions/checkout
5
- # https://github.com/actions/download-artifact
6
- # https://github.com/actions/upload-artifact
3
+ # https://github.com/actions/setup-python : 0b93645e9fea7318ecaed2b359559ac225c90a2b
4
+ # https://github.com/actions/checkout : 11bd71901bbe5b1630ceea73d27597364c9af683
5
+ # https://github.com/actions/download-artifact : fa0a91b85d4f404e444e00e005971372dc801d16
6
+ # https://github.com/actions/upload-artifact : 6f51ac03b9356f520e9adb1b1b7802705f340c2b
7
7
8
8
on :
9
9
pull_request :
@@ -33,10 +33,10 @@ jobs:
33
33
34
34
steps :
35
35
- name : " Repo checkout"
36
- uses : " actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 "
36
+ uses : " actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 "
37
37
38
38
- name : " Set up Python ${{ matrix.python-version }}"
39
- uses : " actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c "
39
+ uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b "
40
40
with :
41
41
python-version : " ${{ matrix.python-version }}"
42
42
allow-prereleases : true
@@ -50,22 +50,23 @@ jobs:
50
50
nox --session tests_with_coverage-${{ matrix.python-version }}
51
51
52
52
- name : " Save coverage artifact"
53
- uses : " actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 "
53
+ uses : " actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b "
54
54
with :
55
55
name : " coverage-artifact-${{ matrix.os}}-${{ matrix.python-version}}"
56
56
path : " .coverage.*"
57
57
retention-days : 1
58
+ include-hidden-files : true
58
59
59
60
coverage-compile :
60
61
name : " coverage compile"
61
62
needs : " run-tests-and-coverage"
62
63
runs-on : " ubuntu-latest"
63
64
steps :
64
65
- name : " Repo checkout"
65
- uses : " actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 "
66
+ uses : " actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 "
66
67
67
68
- name : " Set up Python"
68
- uses : " actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c "
69
+ uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b "
69
70
with :
70
71
python-version : " 3.12"
71
72
74
75
python -m pip install --upgrade pip nox
75
76
76
77
- name : " Download coverage artifacts"
77
- uses : " actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 "
78
+ uses : " actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 "
78
79
with :
79
80
pattern : " coverage-artifact-*"
80
81
merge-multiple : true
@@ -91,10 +92,10 @@ jobs:
91
92
runs-on : " ubuntu-latest"
92
93
steps :
93
94
- name : " Repo checkout"
94
- uses : " actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 "
95
+ uses : " actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 "
95
96
96
97
- name : " Set up Python"
97
- uses : " actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c "
98
+ uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b "
98
99
with :
99
100
python-version : " 3.12"
100
101
0 commit comments