Skip to content

Commit baf1d0e

Browse files
ci: split tests and examples into different steps
1 parent 147539d commit baf1d0e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/test.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ jobs:
3131
distribution: temurin
3232
java-version: 17
3333

34+
- name: "Build native libraries"
35+
run: bash ./scripts/build-linux-x86_64.sh
36+
3437
- name: "Run JVM tests"
35-
run: |
36-
bash ./scripts/build-linux-x86_64.sh
37-
./gradlew test
38-
./gradlew :examples:build
38+
run: ./gradlew test
39+
40+
- name: "Build JVM examples"
41+
# Run even if "Run JVM tests" step failed
42+
if: ${{ always() }}
43+
run: ./gradlew :examples:build

0 commit comments

Comments
 (0)