File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,15 @@ jobs:
23
23
runs-on : ubuntu-latest
24
24
outputs :
25
25
run_tests : ${{ steps.check.outputs.run_tests }}
26
+ run_ssl_tests : ${{ steps.check.outputs.run_ssl_tests }}
26
27
steps :
27
28
- uses : actions/checkout@v2
28
29
- name : Check for source changes
29
30
id : check
30
31
run : |
31
32
if [ -z "$GITHUB_BASE_REF" ]; then
32
33
echo '::set-output name=run_tests::true'
34
+ echo '::set-output name=run_ssl_tests::true'
33
35
else
34
36
git fetch origin $GITHUB_BASE_REF --depth=1
35
37
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
46
48
#
47
49
# https://github.com/python/core-workflow/issues/373
48
50
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
<
9061
/td>51
+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo '::set-output name=run_ssl_tests::true' || true
49
52
fi
50
53
51
54
check_generated_files :
@@ -170,7 +173,7 @@ jobs:
170
173
name : ' Ubuntu SSL tests with OpenSSL ${{ matrix.openssl_ver }}'
171
174
runs-on : ubuntu-20.04
172
175
needs : check_source
173
- if : needs.check_source.outputs.run_tests == 'true'
176
+ if : needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_ssl_tests == 'true'
174
177
strategy :
175
178
fail-fast : false
176
179
matrix :
You can’t perform that action at this time.
0 commit comments