Skip to content

Commit f34ae09

Browse files
committed
adding EM action
1 parent a909bef commit f34ae09

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/em.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: EvoMaster Test Case Generation
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup JDK 8
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 1.8
18+
19+
- name: Cache Maven packages
20+
uses: actions/cache@v3
21+
with:
22+
path: ~/.m2
23+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
24+
restore-keys: ${{ runner.os }}-m2
25+
26+
- name: Build with Maven
27+
run: mvn clean verify --fae
28+
29+
- name: Start Docker Compose
30+
run: docker-compose up -d --build
31+
32+
- uses: webfuzzing/evomaster-action@v0
33+
with:
34+
args: --blackBox true \
35+
--bbSwaggerUrl http://host.docker.internal:8080/v3/api-docs
36+
37+
- name: Stop Docker Compose
38+
if: always()
39+
run: docker-compose down

0 commit comments

Comments
 (0)