aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2021-11-29 08:44:41 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2021-11-29 08:44:41 +0100
commit2e567c08c7b2c5574f42a5cdddafcc625fbfb516 (patch)
treea7172cc769e52d809b52d1c38ef8cfe89cd36fa7
parentfc8168735c94320bd0032f9730450f0987cf744b (diff)
downloadfrege-gradle-plugin-2e567c08c7b2c5574f42a5cdddafcc625fbfb516.tar.gz
frege-gradle-plugin-2e567c08c7b2c5574f42a5cdddafcc625fbfb516.tar.bz2
frege-gradle-plugin-2e567c08c7b2c5574f42a5cdddafcc625fbfb516.zip
debug: logs gradle with more info and tries to capture and upload
the javadump
-rw-r--r--.github/workflows/build.yml12
-rw-r--r--build.gradle2
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 90d2c8b..e43b9a1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,8 +28,16 @@ jobs:
- name: Run Unit & Functional Tests
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
- ./gradlew.bat clean check
+ ./gradlew.bat clean check --info
else
./gradlew clean check
fi
- shell: bash \ No newline at end of file
+ shell: bash
+
+ - name: Upload Unit Test Results
+ if: always()
+ uses: actions/upload-artifact@v2
+ with:
+ name: jvm-dump.txt
+ path: frege-gradle-plugin/**/javacore*.txt
+ if: runner.os == 'Windows' \ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 72b0b2b..3e1ef66 100644
--- a/build.gradle
+++ b/build.gradle
@@ -41,7 +41,7 @@ check.dependsOn functionalTest
tasks.withType(Test).configureEach {
useJUnitPlatform {
- excludeTags 'debug'
+ includeTags 'debug'
}
}