From d112cc4799fca9255522dca247bb91401dc2d5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 11:22:04 +0200 Subject: [PATCH] Update Raspberry Pi to be concurrent --- .github/workflows/raspberry_pi.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/raspberry_pi.yml b/.github/workflows/raspberry_pi.yml index 6656f0c..8e25397 100644 --- a/.github/workflows/raspberry_pi.yml +++ b/.github/workflows/raspberry_pi.yml @@ -20,3 +20,9 @@ jobs: test_runner: raspberry_pi test_binary_name: ranbo_tests test_binary_directory: build/cxx_raspberry_gxx83_armv7/test + +# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 +concurrency: +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true