Skip to content

Commit 0b78370

Browse files
authored
Merge branch 'master' into ssrf-final-fixes
2 parents ded2a04 + 3eb5fcb commit 0b78370

4,316 files changed

Lines changed: 3684 additions & 962 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 37 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- '!.gitignore'
2121
- '!docs/**'
2222
- '!release_notes.md'
23+
- '!outdated/**'
2324
- 'docs/options.md'
2425
### Unfortunately, had to disable this. Originally added to be able to run CI from PRs from forks (eg from external people).
2526
### But this leads to run CI 2 twice on each push on an open PR, regardless of fork.
@@ -38,8 +39,8 @@ env:
3839
# For some "hilarious" case, see:
3940
# https://github.com/WebFuzzing/EvoMaster/issues/447
4041
release-jdk: 21
41-
latest-jdk: 21
42-
build-jdk: 1.8
42+
build-jdk: 17
43+
# latest-jdk: 21
4344
retention-days: 5
4445
debug: false # put to true if need to debug a specific test
4546
debugTestName: "org.evomaster.e2etests.spring.graphql.db.tree.DbTreeEMTest" # replace with test to debug
@@ -132,29 +133,7 @@ jobs:
132133
- if: github.ref != 'refs/heads/master'
133134
name: Uploading coverage to CodeCov is done only on 'master' branch builds
134135
run: echo Skipping upload to CodeCov
135-
# Only once coverage is uploaded, we try to build with other versions of Java, as "mvn clean" would delete those reports
136-
# However, the latest LTS is fully built (with tests) on a different job
137-
# JDK 11
138-
- name: Setup JDK 11
139-
uses: actions/setup-java@v1
140-
with:
141-
java-version: 11
142-
- name: Compile with JDK 11
143-
run: mvn clean verify -DskipTests
144-
#JDK 17
145-
- name: Setup JDK 17
146-
uses: actions/setup-java@v1
147-
with:
148-
java-version: 17
149-
- name: Compile with JDK 17
150-
run: mvn clean verify -DskipTests
151-
#JDK 21
152-
- name: Setup JDK 21
153-
uses: actions/setup-java@v1
154-
with:
155-
java-version: 21
156-
- name: Compile with JDK 21
157-
run: mvn clean verify -DskipTests
136+
158137

159138

160139
base-build-mac:
@@ -163,10 +142,10 @@ jobs:
163142
if: needs.setup.outputs.debug == 'false'
164143
steps:
165144
- uses: actions/checkout@v4
166-
- name: Setup JDK ${{env.latest-jdk}}
145+
- name: Setup JDK ${{env.release-jdk}}
167146
uses: actions/setup-java@v1
168147
with:
169-
java-version: ${{env.latest-jdk}}
148+
java-version: ${{env.release-jdk}}
170149
- name: Cache Maven packages
171150
uses: actions/cache@v3
172151
with:
@@ -184,10 +163,10 @@ jobs:
184163
if: needs.setup.outputs.debug == 'false'
185164
steps:
186165
- uses: actions/checkout@v4
187-
- name: Setup JDK ${{env.latest-jdk}}
166+
- name: Setup JDK ${{env.release-jdk}}
188167
uses: actions/setup-java@v1
189168
with:
190-
java-version: ${{env.latest-jdk}}
169+
java-version: ${{env.release-jdk}}
191170
- name: Cache Maven packages
192171
uses: actions/cache@v3
193172
with:
@@ -200,32 +179,33 @@ jobs:
200179
CI_env: GithubAction
201180

202181

203-
full-build-LTS:
204-
# run on a different OS from main build.
205-
# It would had been good, but does not work due to Docker support :( see:
206-
# https://stackoverflow.com/questions/66077884/testcontainers-in-windows-environment-on-github-actions-could-not-find-a-valid
207-
# TODO check this again in the future
208-
# runs-on: windows-latest
209-
runs-on: ubuntu-latest
210-
needs: setup
211-
if: needs.setup.outputs.debug == 'false'
212-
steps:
213-
- uses: actions/checkout@v4
214-
- name: Setup JDK ${{env.latest-jdk}}
215-
uses: actions/setup-java@v1
216-
with:
217-
java-version: ${{env.latest-jdk}}
218-
- name: Cache Maven packages
219-
uses: actions/cache@v3
220-
with:
221-
path: ~/.m2
222-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
223-
restore-keys: ${{ runner.os }}-m2
224-
- name: Build with Maven
225-
run: mvn clean verify --fae
226-
env:
227-
CI_env: GithubAction
228-
MAVEN_OPTS: "--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED"
182+
# NOTES we know try to be on latest LTS
183+
# full-build-LTS:
184+
# # run on a different OS from main build.
185+
# # It would had been good, but does not work due to Docker support :( see:
186+
# # https://stackoverflow.com/questions/66077884/testcontainers-in-windows-environment-on-github-actions-could-not-find-a-valid
187+
# # TODO check this again in the future
188+
# # runs-on: windows-latest
189+
# runs-on: ubuntu-latest
190+
# needs: setup
191+
# if: needs.setup.outputs.debug == 'false'
192+
# steps:
193+
# - uses: actions/checkout@v4
194+
# - name: Setup JDK ${{env.latest-jdk}}
195+
# uses: actions/setup-java@v1
196+
# with:
197+
# java-version: ${{env.latest-jdk}}
198+
# - name: Cache Maven packages
199+
# uses: actions/cache@v3
200+
# with:
201+
# path: ~/.m2
202+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
203+
# restore-keys: ${{ runner.os }}-m2
204+
# - name: Build with Maven
205+
# run: mvn clean verify --fae
206+
# env:
207+
# CI_env: GithubAction
208+
# MAVEN_OPTS: "--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED"
229209

230210

231211

@@ -354,10 +334,10 @@ jobs:
354334
if: needs.setup.outputs.debug == 'false'
355335
steps:
356336
- uses: actions/checkout@v4
357-
- name: Setup JDK ${{env.latest-jdk}}
337+
- name: Setup JDK ${{env.build-jdk}}
358338
uses: actions/setup-java@v1
359339
with:
360-
java-version: ${{env.latest-jdk}}
340+
java-version: ${{env.build-jdk}}
361341
- name: Cache Maven packages
362342
uses: actions/cache@v3
363343
with:

.gitignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ experiments/target/
4343
*.lst
4444
/report/target/
4545
/extra_heuristics.csv
46-
/dbconstraint/target/
46+
/core-extra/dbconstraint/target/
4747
/e2e-tests/spring-rest-postgres/target/
4848
/e2e-tests/spring-rest-postgres-data-types/target/
4949
/core/testWithEMB.sh
@@ -66,10 +66,10 @@ experiments/target/
6666
/client-js/integration-tests/build/
6767
/core-it/target/
6868
/coveredTargets.txt
69-
/core-driver-it/target/
69+
/core-integration-tests/core-driver-it/target/
7070
/core-it/src/test/kotlin/exp/
7171

72-
/core-graphql-it/target/
72+
/core-integration-tests/core-graphql-it/target/
7373

7474

7575
#DotNet
@@ -125,7 +125,7 @@ Migrations/
125125
/e2e-tests/spring-rest-postgres-column-types/target/
126126
/e2e-tests/spring-rest-h2-column-types/target/
127127
/e2e-tests/spring-rest-h2-z3solver/target/
128-
/test-old-libraries/target/
128+
/client-java/test-old-libraries/target/
129129
/e2e-tests/spring-web/target/
130130
/e2e-tests/spring-rest-mongo/target/
131131
/e2e-tests/spring-rest-opensearch/target/
@@ -137,7 +137,7 @@ Migrations/
137137
/e2e-tests/spring-rpc/spring-rpc-grpc/target/
138138
/em.toml
139139

140-
/solver/target/
140+
/core-extra/solver/target/
141141
/em.yaml
142142
/e2e-tests/spring-rest-openapi-v2/em.yaml
143143
/e2e-tests/spring-rest-openapi-v3/em.yaml
@@ -175,3 +175,5 @@ Migrations/
175175
/e2e-tests/spring-rest-multidb/target/
176176
/e2e-tests/spring-rest-h2-v2/target/
177177
e2e-tests/spring-rest-rsa/target/
178+
/e2e-tests/spring-rest-h2-v1/em.yaml
179+
/core-integration-tests/core-it/target/

.mvn/notinuse_jvm.config

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

0 commit comments

Comments
 (0)