From 9fdf62af89502af8cbedadaa076cbf38a5295a01 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 23 Sep 2022 23:16:40 -0600 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8bba7f4..1927d01f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -176,7 +176,14 @@ jobs: - name: Run changed-files with a single commit history id: changed-files + continue-on-error: true uses: ./ + + - name: Exit with 1 if no error is raised + if: steps.changed-files.outcome != 'failure' + run: | + echo "Expected: (failure) got ${{ steps.changed-files.outcome }}" + exit 1 - name: Show output run: |