Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 5 additions & 26 deletions .github/workflows/tests@v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ jobs:
- name: Run unit tests
run: make test-unit

- name: Copy test results
if: always()
run: |
shopt -s globstar
mkdir unit
cp --parents ./**/target/*-reports/*.xml unit/

- name: Upload test results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
Expand All @@ -155,7 +148,7 @@ jobs:
with:
check_name: Unit tests report (JDK ${{ matrix.java-version }})
require_tests: true
report_paths: "*/**/target/*-reports/*.xml"
report_paths: "*/**/target/*-reports/TEST-*.xml"
Comment thread
dkropachev marked this conversation as resolved.
follow_symlink: true
detailed_summary: true
updateComment: false
Expand Down Expand Up @@ -265,15 +258,8 @@ jobs:
MAVEN_EXTRA_ARGS: ${{ steps.test-skip-args.outputs.value }}
run: make test-integration-cassandra

- name: Copy test results
if: steps.run-integration-tests.outcome == 'failure'
run: |
shopt -s globstar
mkdir cassandra-${{ matrix.cassandra-version }}-${{ matrix.test-group }}
cp --parents ./**/target/*-reports/*.xml cassandra-${{ matrix.cassandra-version }}-${{ matrix.test-group }}/

- name: Upload test results
if: steps.run-integration-tests.outcome == 'failure'
if: failure() && steps.run-integration-tests.outcome == 'failure'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: test-results-${{ matrix.java-version }}-${{ matrix.cassandra-version }}-${{ matrix.test-group }}
Expand All @@ -292,7 +278,7 @@ jobs:
with:
check_name: Integration tests report for Cassandra ${{ steps.cassandra-version.outputs.value }} (${{ matrix.test-group }}, JDK ${{ matrix.java-version }})
require_tests: true
report_paths: "*/**/target/*-reports/*.xml"
report_paths: "*/**/target/*-reports/TEST-*.xml"
follow_symlink: true
detailed_summary: true
updateComment: false
Expand Down Expand Up @@ -385,16 +371,9 @@ jobs:
MAVEN_EXTRA_ARGS: ${{ steps.test-skip-args.outputs.value }}
run: make test-integration-scylla

- name: Copy test results
if: steps.run-integration-tests.outcome == 'failure'
run: |
shopt -s globstar
mkdir scylla-${{ matrix.scylla-version }}-${{ matrix.test-group }}
cp --parents ./**/target/*-reports/*.xml scylla-${{ matrix.scylla-version }}-${{ matrix.test-group }}/

- name: Upload test results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: steps.run-integration-tests.outcome == 'failure'
if: failure() && steps.run-integration-tests.outcome == 'failure'
with:
name: test-results-${{ matrix.java-version }}-${{ matrix.scylla-version }}-${{ matrix.test-group }}
path: "*/**/target/*-reports/*.xml"
Expand All @@ -412,7 +391,7 @@ jobs:
with:
check_name: Integration tests report for Scylla ${{ steps.scylla-version.outputs.value }} (${{ matrix.test-group }}, JDK ${{ matrix.java-version }})
require_tests: true
report_paths: "*/**/target/*-reports/*.xml"
report_paths: "*/**/target/*-reports/TEST-*.xml"
follow_symlink: true
detailed_summary: true
updateComment: false
Expand Down
Loading