From df6272d7672a9b20d00121b7b633e62fb1cbd111 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:17:02 -0400 Subject: [PATCH] feat(test): limit test concurrency (#172) --- .github/workflows/pytest.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index d0dab785..fe9ca10e 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -2,12 +2,15 @@ name: PyTest on: pull_request: - # The branches below must be a subset of the branches above branch: master paths: - '**.py' - '**/pytest.yaml' - + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ${{ matrix.os }}