From a5ad8512db99cd2e3c528d3aee850d6685de5cee Mon Sep 17 00:00:00 2001 From: Aiden Fujiwara Date: Mon, 2 Oct 2023 14:31:02 -0700 Subject: [PATCH] add failure on success to exepcted failure test case --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 797fe7a..790b4bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: - run: selene --version build-in-dir-external-org-false: - name: Test setup-foreman action with working-directory + name: Test setup-foreman action allow-external-gitub-org false strategy: matrix: os: ["ubuntu-latest"] @@ -81,3 +81,7 @@ jobs: working-directory: tests allow-external-github-orgs: false continue-on-error: true + + - name: fail on success + if: ${{ failure() }} + run: exit 1