Skip to content

Commit 7cd10d8

Browse files
authored
Disabled test report output as it breaks after pull requests from forks (#1978)
Disabled test report output as it breaks after pull requests from forks
1 parent 37a7b23 commit 7cd10d8

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/legal-report.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,11 @@ jobs:
3434
- name: Make mvnw executable
3535
run: chmod +x mvnw
3636

37-
- name: Maven build
38-
run: ./mvnw -B -ntp clean install -pl ${{ matrix.package-folder }} -am -DskipTests
39-
4037
- name: License XML report
41-
run: ./mvnw -B -ntp org.codehaus.mojo:license-maven-plugin:download-licenses
42-
working-directory: ${{ matrix.package-folder }}
38+
run: ./mvnw -B -ntp clean install org.codehaus.mojo:license-maven-plugin:download-licenses -pl ${{ matrix.package-folder }} -am -DskipTests -DlicensesOutputDirectory=${{ matrix.package-folder }}
4339

4440
- name: Validate XML report
41+
working-directory: ${{ matrix.package-folder }}
4542
run: |
4643
#!/bin/bash
4744
@@ -98,8 +95,6 @@ jobs:
9895
exit 1
9996
fi
10097
101-
working-directory: ${{ matrix.package-folder }}
102-
10398
- name: Upload license XML reports
10499
uses: actions/upload-artifact@v5
105100
with:

.github/workflows/test-server.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,3 @@ jobs:
2626

2727
- name: Build with Maven
2828
run: ./mvnw -B -ntp verify
29-
30-
- name: Publish test results
31-
if: always()
32-
uses: EnricoMi/publish-unit-test-result-action@v2
33-
with:
34-
files: |
35-
**/target/surefire-reports/*.xml
36-
**/target/failsafe-reports/*.xml

0 commit comments

Comments
 (0)