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 }}