Fix paths to surefire-reports for Foresight (#16019)

This commit is contained in:
Stian Thorgersen 2022-12-15 16:32:06 +01:00 committed by GitHub
parent bd4acfe4c6
commit 09da4a211e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -5,6 +5,9 @@ inputs:
api-key:
description: Foresight API key
required: false
surefire-reports-path:
description: Path to surefire-reports
required: true
runs:
using: composite
@ -17,4 +20,4 @@ runs:
api_key: ${{ inputs.api-key }}
test_format: JUNIT
test_framework: JUNIT
test_path: '**/target/surefire-reports/*.xml'
test_path: ${{ inputs.surefire-reports-path }}

View file

@ -55,6 +55,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: '**/target/surefire-reports/*.xml'
base-integration-tests:
name: Base IT
@ -84,6 +85,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
quarkus-integration-tests:
name: Quarkus IT
@ -119,6 +121,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'quarkus/tests/integration/target/surefire-reports/*.xml'
jdk-integration-tests:
name: Java Distribution IT
@ -155,6 +158,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
new-store-integration-tests:
name: New Store IT
@ -189,6 +193,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
legacy-store-integration-tests:
name: Legacy Store IT
@ -218,6 +223,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
store-model-tests:
name: Store Model Tests
@ -258,6 +264,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
fips-unit-tests:
name: FIPS UT
@ -283,6 +290,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: '**/target/surefire-reports/*.xml'
fips-integration-tests:
name: FIPS IT
@ -311,6 +319,7 @@ jobs:
if: always()
with:
api-key: ${{ secrets.FORESIGHT_API_KEY }}
surefire-reports-path: 'testsuite/integration-arquillian/tests/base/target/surefire-reports/*.xml'
check-set-status:
name: Set check conclusion