Skip to content

Commit ed19480

Browse files
authored
Merge pull request #38 from advanced-security/GeekMasher-patch-1
feat(ci): Improve Python concurrency + Python 3.13
2 parents d570c86 + c7f1ccf commit ed19480

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/python-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ jobs:
2424
build:
2525
# This workflow runs on the latest version of Ubuntu
2626
runs-on: ubuntu-latest
27+
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.python-version }}
30+
cancel-in-progress: true
31+
2732
strategy:
2833
fail-fast: false
2934
matrix:
3035
# Python versions to test against
3136
# These are all the main versions of Python that are currently supported
3237
# excluding 3.8
33-
python-version: ["3.9", "3.10", "3.11", "3.12"]
38+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3439

3540
steps:
3641
- name: Checkout
@@ -105,4 +110,4 @@ jobs:
105110
else
106111
echo "No test script found"
107112
echo "Skipping test step"
108-
fi
113+
fi

0 commit comments

Comments
 (0)