We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e51b22 commit c22b3cbCopy full SHA for c22b3cb
.github/workflows/build.yml
@@ -39,12 +39,33 @@ jobs:
39
SNAPSHOT: true
40
GITHUB_SHA: ${{ github.sha }}
41
run: |
42
- ./gradlew build
+ ./gradlew build -x test
43
mkdir -p builds
44
cp build/libs/*.jar builds/
45
46
- name: Upload jar
47
uses: actions/upload-artifact@v4
48
with:
49
name: "Hommr-${{ github.sha }}"
50
- path: builds/
+ path: builds/
51
+
52
+ test:
53
+ name: Test
54
+ runs-on: ubuntu-latest
55
+ steps:
56
+ - name: Checkout
57
+ uses: actions/checkout@v4
58
+ with:
59
+ fetch-depth: 0
60
61
+ - name: Set up JDK 21
62
+ uses: actions/setup-java@v4
63
64
+ java-version: '21'
65
+ distribution: 'temurin'
66
67
+ - name: Make gradlew executable
68
+ run: chmod +x gradlew
69
70
+ - name: Run tests
71
+ run: ./gradlew test
0 commit comments