-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (42 loc) · 1.18 KB
/
em.yaml
File metadata and controls
52 lines (42 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: EvoMaster Test Case Generation
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK 8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean verify --fae
- name: Start Docker Compose
run: docker compose up -d --build
- uses: webfuzzing/evomaster-action@v1
with:
args: >-
--writeWFCReport true
--blackBox true
--bbSwaggerUrl http://localhost:8080/v3/api-docs
--maxTime 20s
--showProgress false
failOnErrors: "true"
- name: Upload Generated Files
if: always()
uses: actions/upload-artifact@v4
with:
name: results
path: ./generated_tests
- name: Stop Docker Compose
if: always()
run: docker compose down