Skip to content

Commit bb4b3a9

Browse files
authored
Update run-system-tests.yml
1 parent 57bf376 commit bb4b3a9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/run-system-tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,7 @@ jobs:
115115
TESTS_OPT: ${{ matrix.tests != '' && format('-Dtest={0}', matrix.tests) || '' }}
116116
EXCLUDED_GROUPS_OPT: ${{ inputs.excludedGroups != '' && format('-DexcludedGroups={0}', inputs.excludedGroups) || '' }}
117117
run: |
118-
mvn --batch-mode verify -Psystemtest -Pdist -DskipDocs=true $TESTS_OPT $EXCLUDED_GROUPS_OPT $GROUPS_OPT
119-
echo "TC_NUMBER=$(( $(cat maven.out | grep "Tests run" | grep -v "Time elapsed" | cut -d , -f 1 | cut -d " " -f 3 | tr "\n" "+") 0))" >> "${GITHUB_OUTPUT}"
120-
- name: Cancel deployment if no changes
121-
id: cancel-if-necessary
122-
if: ${{ steps.run_system_tests.outputs.TC_NUMBER == '0' }}
123-
run: |
124-
echo "No test cases have been run. Cancelling workflow run."
125-
gh run cancel ${{ github.run_id }}
126-
env:
127-
GH_TOKEN: ${{ github.token }}
118+
mvn --quiet --batch-mode verify -Psystemtest -Pdist -DskipDocs=true $TESTS_OPT $EXCLUDED_GROUPS_OPT $GROUPS_OPT
128119
129120
- name: Archive JUnit test results
130121
if: ${{ always() }}

0 commit comments

Comments
 (0)