Skip to content

Commit 859ab70

Browse files
committed
Check test reports location
1 parent a8bb6e1 commit 859ab70

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/pr-module-functional-tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,17 @@ jobs:
4747
result=${PIPESTATUS[0]}
4848
echo "exit_code=$result" >> "$GITHUB_OUTPUT"
4949
50-
- name: Rename test reports to remove TEST- prefix
51-
shell: bash
50+
- name: Check test reports location
5251
run: |
53-
shopt -s nullglob
54-
for f in target/failsafe-reports/TEST-*.xml; do
55-
filename=$(basename "$f")
56-
mv "$f" "target/failsafe-reports/${filename#TEST-}"
57-
done
52+
echo "GITHUB_WORKSPACE = $GITHUB_WORKSPACE"
53+
find $GITHUB_WORKSPACE -name 'TEST-*.xml'
5854
5955
- name: Format build output for PR comment
6056
if: always()
6157
uses: dorny/[email protected]
6258
with:
6359
name: 'Module functional tests'
64-
working-directory: 'target/failsafe-reports'
65-
path: '*.xml'
60+
path: '**/target/failsafe-reports/TEST-*.xml'
6661
reporter: java-junit
6762
use-actions-summary: 'true'
6863
list-suites: 'failed'

0 commit comments

Comments
 (0)