summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-09-29 10:24:48 +0200
committerGitHub <noreply@github.com>2022-09-29 09:24:48 +0100
commitb5375b4df5449c224db1833646eb7f0031d3e34a (patch)
treee34de378d395ee6241780b1b9a684bc680a62be0 /.github
parenta0fac9829c6059b66c0be6070b4d39a4ca90ae86 (diff)
downloadpip-b5375b4df5449c224db1833646eb7f0031d3e34a.tar.gz
Allow skips for the test jobs in branch protection (#11472)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0f0d0a9bb..1786dd47d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -314,4 +314,18 @@ jobs:
&& 'vendoring'
|| ''
}}
+ ,
+ ${{
+ (
+ needs.determine-changes.outputs.tests != 'true'
+ && github.event_name == 'pull_request'
+ )
+ && '
+ tests-unix,
+ tests-windows,
+ test-zipapp,
+ test-importlib-metadata,
+ '
+ || ''
+ }}
jobs: ${{ toJSON(needs) }}