From e5eb94dd9b388c105114b5f31f537401c9360c58 Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Fri, 22 Mar 2024 15:33:06 +0100 Subject: [PATCH] Limit execution time and concurrency --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c561a4f..faff603 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,10 +14,14 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: Server_tests: name: Server tests - + timeout-minutes: 15 runs-on: ubuntu-latest # Test different python versions @@ -79,7 +83,7 @@ jobs: Client_build: name: Client build - + timeout-minutes: 15 runs-on: ubuntu-latest steps: