summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-26 14:36:49 -0500
committerGitHub <noreply@github.com>2022-02-26 14:36:49 -0500
commite28e150c036e8b2bd55a37df13e836e098b5f37d (patch)
tree7fac2e6ac402b2ebdb78fd7b2d601cdadc757b5d /.github/workflows
parent93c8f674d6d559f08784744d9c467c7c3479c430 (diff)
parent11e9022ea9a61e18baf017254ff9312efe85a1ab (diff)
downloadpython-setuptools-git-e28e150c036e8b2bd55a37df13e836e098b5f37d.tar.gz
Merge pull request #115 from blink1073/patch-1
Add concurrency limit to CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1589069f..5beb799f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -2,6 +2,10 @@ name: tests
on: [push, pull_request]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
+
env:
# pypa/distutils#99
VIRTUALENV_NO_SETUPTOOLS: 1