mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 11:54:59 -04:00
ci: upload test results
This commit is contained in:
parent
1c901a466e
commit
2e26e6f042
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
|||||||
cache: maven
|
cache: maven
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Publish Test Report
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: scacap/action-surefire-report@v1
|
||||||
- name: Upload Linux x64 build
|
- name: Upload Linux x64 build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -39,6 +42,9 @@ jobs:
|
|||||||
cache: maven
|
cache: maven
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Publish Test Report
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: scacap/action-surefire-report@v1
|
||||||
- name: Upload Windows x64 build
|
- name: Upload Windows x64 build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -17,4 +17,8 @@ build:
|
|||||||
- master
|
- master
|
||||||
- merge_requests
|
- merge_requests
|
||||||
script:
|
script:
|
||||||
- 'mvn $MAVEN_CLI_OPTS compile'
|
- 'mvn $MAVEN_CLI_OPTS verify'
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
junit:
|
||||||
|
- target/surefire-reports/TEST-*.xml
|
||||||
|
5
pom.xml
5
pom.xml
@ -134,6 +134,11 @@
|
|||||||
</excludeProperties>
|
</excludeProperties>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||||
|
<version>2.22.2</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user