-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (47 loc) · 1.31 KB
/
demo_erlang_cowboy_simpleREST.yml
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
52
53
54
name: demo_erlang_cowboy_simpleREST
on:
push: {}
schedule:
- cron: 0 13 * * * # daily at 1PM
jobs:
meta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: ./gen.sh
working-directory: examples/demo_erlang_cowboy_simpleREST
- run: git --no-pager diff --exit-code
cron:
runs-on: ubuntu-latest
needs: [meta]
strategy:
matrix:
bug:
- bugfree
- bug1_modified
- bug2_invalid
- bug3_crashes
starfile:
- fuzzymonkey.star
- fuzzymonkey__start_reset_stop_docker.star
- fuzzymonkey__start_reset_stop.star
- fuzzymonkey__start_reset_stop_json.star
- fuzzymonkey__start_reset_stop_failing_script.star
- fuzzymonkey__env.star
- fuzzymonkey__doc_typo.star
- fuzzymonkey__doc_typo_json.star
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: 22.x
rebar3-version: '3.16.1'
- uses: FuzzyMonkeyCo/setup-monkey@v1
- uses: actions/checkout@v2
- run: ./check.sh
working-directory: examples/demo_erlang_cowboy_simpleREST/${{ matrix.bug }}
env:
FUZZYMONKEY_API_KEY: ${{ secrets.FUZZYMONKEY_API_KEY }}
STAR: ${{ matrix.starfile }}
- run: |
docker ps -a
[[ 0 -eq $(docker ps -q | wc -l) ]]