diff --git a/.github/workflows/runTest.yml b/.github/workflows/runTest.yml index d3283860..99965a2a 100644 --- a/.github/workflows/runTest.yml +++ b/.github/workflows/runTest.yml @@ -1,5 +1,8 @@ name: runTest -on: [push] +on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: test-python-app: runs-on: ubuntu-latest @@ -47,4 +50,4 @@ jobs: with: files: ./tests.xml env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}