|
@@ -55,6 +55,9 @@ jobs:
|
|
|
path: ~/.pnpm-store
|
|
|
key: ${{ runner.os }}-test-latest-cache-pnpm-modules
|
|
|
|
|
|
+ - name: Start deadlock detector
|
|
|
+ run: .github/scripts/deadlock-detector.sh
|
|
|
+
|
|
|
- name: List tests
|
|
|
env:
|
|
|
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
|
@@ -87,3 +90,24 @@ jobs:
|
|
|
cache-read-only: ${{ inputs.cache-read-only }}
|
|
|
# gradle enterprise is used for the build cache
|
|
|
gradle-home-cache-excludes: caches/build-cache-1
|
|
|
+
|
|
|
+ - name: Upload deadlock detector artifacts if any
|
|
|
+ if: failure()
|
|
|
+ uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
|
+ with:
|
|
|
+ name: deadlock-detector-test-latest-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
|
|
|
+ path: /tmp/deadlock-detector-*
|
|
|
+ if-no-files-found: ignore
|
|
|
+
|
|
|
+ - name: Upload jvm crash dump files if any
|
|
|
+ if: failure()
|
|
|
+ uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
|
+ with:
|
|
|
+ name: javacore-test-latest-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
|
|
|
+ path: |
|
|
|
+ **/hs_err_pid*.log
|
|
|
+ **/javacore.*.txt
|
|
|
+ **/Snap.*.trc
|
|
|
+ **/core.*.dmp
|
|
|
+ **/jitdump.*.dmp
|
|
|
+ if-no-files-found: ignore
|