We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96eebea commit 9735004Copy full SHA for 9735004
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up JDK 21
21
+ uses: actions/setup-java@v4
22
+ with:
23
+ distribution: temurin
24
+ java-version: "21"
25
+ cache: gradle
26
27
+ - name: Make gradlew executable
28
+ run: chmod +x gradlew
29
30
+ - name: Run tests
31
+ run: ./gradlew test
32
33
+ - name: Upload test reports (always)
34
+ if: always()
35
+ uses: actions/upload-artifact@v4
36
37
+ name: test-reports
38
+ path: |
39
+ **/build/reports/tests/test
40
+ **/build/test-results/test
0 commit comments