File tree Expand file tree Collapse file tree 2 files changed +31
-15
lines changed Expand file tree Collapse file tree 2 files changed +31
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : Check
2
+ on : [ pull_request, push ]
3
+ jobs :
4
+ check :
5
+ runs-on : ubuntu-latest
6
+ # push: always run.
7
+ # pull_request: run only when the PR is submitted from a forked repository, not within this repository.
8
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
9
+ strategy :
10
+ fail-fast : false
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Set up OpenJDK 8
14
+ uses : actions/setup-java@v4
15
+ with :
16
+ java-version : 8
17
+ distribution : " temurin"
18
+ cache : " gradle"
19
+ - name : Check
20
+ run : ./gradlew --info --stacktrace check
21
+ - uses : actions/upload-artifact@v4
22
+ if : always()
23
+ with :
24
+ name : tests
25
+ path : ./build/reports/tests/test
26
+ - name : Generate JaCoCo test report
27
+ run : ./gradlew jacocoTestReport coveralls
28
+ - uses : actions/upload-artifact@v4
29
+ with :
30
+ name : jacoco
31
+ path : ./build/reports/jacoco/test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments