From 7ae1fa48331ca836df4f5782b5db3615eebf9b5f Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Wed, 5 Oct 2022 07:47:53 +0200 Subject: [PATCH] Enable Foresight test-kit-action on PRs (#14695) --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1a8b89b26f..65b5d2af514 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT @@ -174,7 +174,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT @@ -258,7 +258,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT @@ -354,7 +354,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT @@ -414,7 +414,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT @@ -482,7 +482,7 @@ jobs: - name: Analyze Test and/or Coverage Results uses: runforesight/foresight-test-kit-action@v1 - if: ( github.repository == 'keycloak/keycloak' ) && ( github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( success() || failure() ) + if: always() && github.repository == 'keycloak/keycloak' with: api_key: ${{ secrets.FORESIGHT_API_KEY }} test_format: JUNIT