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" }}
|
key: gradle-dependencies-{{ checksum "build.gradle.kts" }}
|
||||||
- run:
|
- run:
|
||||||
name: Run All Checks
|
name: Run All Checks
|
||||||
command: ./gradlew check
|
command: ./gradlew check --stacktrace
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/reports/
|
path: build/reports/
|
||||||
destination: reports
|
destination: reports
|
||||||
|
|
7
.github/workflows/gradle.yml
vendored
7
.github/workflows/gradle.yml
vendored
|
@ -37,9 +37,14 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-${{ matrix.java-version }}-
|
${{ runner.os }}-gradle-${{ matrix.java-version }}-
|
||||||
|
|
||||||
- name: Test with Gradle
|
- name: Check with Gradle
|
||||||
|
if: ${{ matrix.java-version }} != '24'
|
||||||
run: ./gradlew build check --stacktrace
|
run: ./gradlew build check --stacktrace
|
||||||
|
|
||||||
|
- name: Test with Gradle
|
||||||
|
if: ${{ matrix.java-version }} == '24'
|
||||||
|
run: ./gradlew build test --stacktrace
|
||||||
|
|
||||||
- name: Cleanup Gradle Cache
|
- name: Cleanup Gradle Cache
|
||||||
run: |
|
run: |
|
||||||
rm -f ~/.gradle/caches/modules-2/modules-2.lock
|
rm -f ~/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
|
|
@ -22,7 +22,7 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script: gradle check
|
script: gradle check --stacktrace
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_COMMIT_REF_NAME"
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
policy: pull
|
policy: pull
|
||||||
|
|
|
@ -6,4 +6,4 @@ pipelines:
|
||||||
caches:
|
caches:
|
||||||
- gradle
|
- gradle
|
||||||
script:
|
script:
|
||||||
- bash ./gradlew check
|
- bash ./gradlew check --stacktrace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue