mirror of
https://github.com/apache/activemq.git
synced 2026-03-13 08:02:28 +08:00
Publish test results on failure (#1705)
Update CI for all workflows to always publish test results even on failures
This commit is contained in:
committed by
GitHub
parent
625fc1fd41
commit
fb8acf9909
4
.github/workflows/ci-nightly.yml
vendored
4
.github/workflows/ci-nightly.yml
vendored
@@ -80,13 +80,13 @@ jobs:
|
||||
shell: bash
|
||||
run: mvn -B -e -fae verify -Pactivemq.tests-quick -Dsurefire.rerunFailingTestsCount=3
|
||||
- name: Upload Test Results
|
||||
if: (!cancelled())
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results-${{ matrix.os }}-java${{ matrix.java-version }}
|
||||
path: '**/target/surefire-reports/*.xml'
|
||||
- name: Publish Test Results
|
||||
if: (!cancelled()) && runner.os == 'Linux'
|
||||
if: runner.os == 'Linux'
|
||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||
with:
|
||||
large_files: true
|
||||
|
||||
4
.github/workflows/ci-quick.yml
vendored
4
.github/workflows/ci-quick.yml
vendored
@@ -75,13 +75,13 @@ jobs:
|
||||
- name: Test
|
||||
run: mvn -B -e -fae verify -Pactivemq.tests-quick
|
||||
- name: Upload Test Results
|
||||
if: (!cancelled())
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results
|
||||
path: '**/target/surefire-reports/*.xml'
|
||||
- name: Publish Test Results
|
||||
if: (!cancelled())
|
||||
if: always()
|
||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||
with:
|
||||
large_files: true
|
||||
|
||||
Reference in New Issue
Block a user