From 7caa2517a913574e6eccbbf34c293b0dae67ee71 Mon Sep 17 00:00:00 2001 From: Daniele Rapetti Date: Fri, 30 Aug 2024 12:06:56 +0200 Subject: [PATCH] adding a failure test II --- .github/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 78c86ca..c8063a3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -67,6 +67,11 @@ jobs: - name: check if a failure occured if: steps.plumed.outcome == failure() run: echo "Plumed installation failed as expected" + - name: check if a failure has not occured + if: steps.plumed.outcome == success() + run: | + echo "Plumed installation did not failed as expected" + exit 1 # test_stable: # # strategy: # # matrix: