Skip to content

Commit 1d14261

Browse files
committed
Always run all tests before failing the build
1 parent d28dd7c commit 1d14261

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,26 @@ jobs:
3333
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_KEY }}
3434
run: ./gradlew check
3535
- name: "☄️ Upload Base Tests Results - audit-test"
36+
if: ${{ always() }}
3637
uses: actions/upload-artifact@v4
3738
with:
3839
name: testreport-audit-test-${{ matrix.java }}
3940
path: examples/audit-test/build/reports/tests
4041
- name: "☄️ Upload Base Tests Results - audit-test-allow-update-outside-transaction"
42+
if: ${{ always() }}
4143
uses: actions/upload-artifact@v4
4244
with:
4345
name: testreport-audit-test-allow-update-outside-transaction-${{ matrix.java }}
4446
path: examples/audit-test-allow-update-outside-transaction/build/reports/tests
4547
- name: "🔨 Run audit-test Outside of Transaction Tests"
48+
if: ${{ always() }}
4649
env:
4750
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
4851
DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_USER }}
4952
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_KEY }}
5053
run: ./gradlew :examples:audit-test:check -Daudit-test.AuditTrail.datasource=DEFAULT
5154
- name: "☄️ Upload audit-test Outside of Transaction Tests Results"
55+
if: ${{ always() }}
5256
uses: actions/upload-artifact@v4
5357
with:
5458
name: testreport-audit-test-single-datasource-${{ matrix.java }}

0 commit comments

Comments
 (0)