Skip to content

Commit df26c39

Browse files
committed
tests: run all tests on PR already
1 parent f6fb442 commit df26c39

File tree

2 files changed

+21
-87
lines changed

2 files changed

+21
-87
lines changed

.github/workflows/run-all-tests-main.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

.github/workflows/run-all-tests-pr.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,32 @@ concurrency:
1212

1313
jobs:
1414

15+
test_junit_springboot:
16+
name: Spring Boot
17+
runs-on: ubuntu-22.04
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up JDK
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: zulu
24+
java-version: 17
25+
- name: Run Spring Boot example
26+
# The Spring Boot example project is built with Maven. The shell script builds the project
27+
# against the local version of Jazzer and runs its unit and fuzz tests.
28+
# Spring version 6 requires JDK 17.
29+
run: |
30+
cd examples/junit-spring-web
31+
./build-and-run-tests.sh
32+
shell: bash
33+
1534
build_and_test:
1635
runs-on: ${{ matrix.os }}
1736
name: Build & Test
1837
strategy:
1938
matrix:
2039
os: [ubuntu-22.04, windows-2022, macos-14]
21-
jdk: [21]
40+
jdk: [21, 8]
2241
include:
2342
- jdk: 21
2443
# Workaround for https://github.com/bazelbuild/bazel/issues/14502
@@ -27,8 +46,7 @@ jobs:
2746
# arch: "linux"
2847
# bazel_args: "//launcher/android:jazzer_android"
2948
- os: ubuntu-22.04
30-
# Use JDK 8 only on Ubuntu in PRs.
31-
jdk: 8
49+
arch: "linux"
3250
- os: macos-14
3351
arch: "macos-arm64"
3452
bazel_args: "--xcode_version_config=//.github:host_xcodes"

0 commit comments

Comments
 (0)