Skip to content

Commit

Permalink
Always run all tests before failing the build
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaugherty committed Dec 6, 2024
1 parent d28dd7c commit 1d14261
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,26 @@ jobs:
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_KEY }}
run: ./gradlew check
- name: "☄️ Upload Base Tests Results - audit-test"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: testreport-audit-test-${{ matrix.java }}
path: examples/audit-test/build/reports/tests
- name: "☄️ Upload Base Tests Results - audit-test-allow-update-outside-transaction"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: testreport-audit-test-allow-update-outside-transaction-${{ matrix.java }}
path: examples/audit-test-allow-update-outside-transaction/build/reports/tests
- name: "🔨 Run audit-test Outside of Transaction Tests"
if: ${{ always() }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_USER }}
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.DEVELOCITY_BUILD_CACHE_NODE_KEY }}
run: ./gradlew :examples:audit-test:check -Daudit-test.AuditTrail.datasource=DEFAULT
- name: "☄️ Upload audit-test Outside of Transaction Tests Results"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: testreport-audit-test-single-datasource-${{ matrix.java }}
Expand Down

0 comments on commit 1d14261

Please sign in to comment.