[Python-checkins] gh-97923: Always run Ubuntu SSL tests with others in CI (#97940)
ambv
webhook-mailer at python.org
Fri Oct 7 14:59:19 EDT 2022
https://github.com/python/cpython/commit/3108fc1c16fdb73095dd7fcf0930004ae266f805
commit: 3108fc1c16fdb73095dd7fcf0930004ae266f805
branch: main
author: Nikita Sobolev <mail at sobolevn.me>
committer: ambv <lukasz at langa.pl>
date: 2022-10-07T11:58:46-07:00
summary:
gh-97923: Always run Ubuntu SSL tests with others in CI (#97940)
files:
M .github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1db5c5051493..dc91c0dbcb02 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -31,7 +31,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
run_tests: ${{ steps.check.outputs.run_tests }}
- run_ssl_tests: ${{ steps.check.outputs.run_ssl_tests }}
steps:
- uses: actions/checkout at v3
- name: Check for source changes
@@ -39,7 +38,6 @@ jobs:
run: |
if [ -z "$GITHUB_BASE_REF" ]; then
echo '::set-output name=run_tests::true'
- echo '::set-output name=run_ssl_tests::true'
else
git fetch origin $GITHUB_BASE_REF --depth=1
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
@@ -56,7 +54,6 @@ jobs:
#
# https://github.com/python/core-workflow/issues/373
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
- git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo '::set-output name=run_ssl_tests::true' || true
fi
check_generated_files:
@@ -230,7 +227,7 @@ jobs:
name: 'Ubuntu SSL tests with OpenSSL'
runs-on: ubuntu-20.04
needs: check_source
- if: needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_ssl_tests == 'true'
+ if: needs.check_source.outputs.run_tests == 'true'
strategy:
fail-fast: false
matrix:
More information about the Python-checkins
mailing list