Compare commits
2 commits
16420f5916
...
7f790c5e67
Author | SHA1 | Date | |
---|---|---|---|
7f790c5e67 | |||
046a2c3ccc |
4 changed files with 9 additions and 4 deletions
|
@ -22,7 +22,7 @@ defaults_gradle: &defaults_gradle
|
|||
key: gradle-dependencies-{{ checksum "build.gradle.kts" }}
|
||||
- run:
|
||||
name: Run All Checks
|
||||
command: ./gradlew check
|
||||
command: ./gradlew check --stacktrace
|
||||
- store_artifacts:
|
||||
path: build/reports/
|
||||
destination: reports
|
||||
|
|
7
.github/workflows/gradle.yml
vendored
7
.github/workflows/gradle.yml
vendored
|
@ -37,9 +37,14 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-gradle-${{ matrix.java-version }}-
|
||||
|
||||
- name: Test with Gradle
|
||||
- name: Check with Gradle
|
||||
if: ${{ matrix.java-version }} != '24'
|
||||
run: ./gradlew build check --stacktrace
|
||||
|
||||
- name: Test with Gradle
|
||||
if: ${{ matrix.java-version }} == '24'
|
||||
run: ./gradlew build test --stacktrace
|
||||
|
||||
- name: Cleanup Gradle Cache
|
||||
run: |
|
||||
rm -f ~/.gradle/caches/modules-2/modules-2.lock
|
||||
|
|
|
@ -22,7 +22,7 @@ build:
|
|||
|
||||
test:
|
||||
stage: test
|
||||
script: gradle check
|
||||
script: gradle check --stacktrace
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_NAME"
|
||||
policy: pull
|
||||
|
|
|
@ -6,4 +6,4 @@ pipelines:
|
|||
caches:
|
||||
- gradle
|
||||
script:
|
||||
- bash ./gradlew check
|
||||
- bash ./gradlew check --stacktrace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue