You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/e2e.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ jobs:
30
30
trace_func_go,
31
31
]
32
32
steps:
33
-
- uses: actions/checkout@v3
33
+
- uses: actions/checkout@v4
34
34
with:
35
35
lfs: "true"
36
36
- name: Checkout LFS objects
@@ -62,7 +62,7 @@ jobs:
62
62
run: go run cmd/loader.go --config pkg/config/test_config.json
63
63
64
64
- name: Check the output
65
-
run: test -f "data/out/experiment_duration_5.csv" && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
65
+
run: test -f "data/out/experiment_duration_5.csv" && test $(cat data/out/experiment_duration_5.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
Copy file name to clipboardExpand all lines: .github/workflows/e2e_aws.yaml
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@ name: End-to-End AWS Tests
2
2
3
3
on:
4
4
workflow_dispatch:
5
-
push:
6
-
branches: [main]
7
5
8
6
env:
9
7
GOOS: linux
@@ -31,7 +29,7 @@ jobs:
31
29
fi
32
30
33
31
- name: Checkout GitHub Code
34
-
uses: actions/checkout@v3
32
+
uses: actions/checkout@v4
35
33
with:
36
34
lfs: "true"
37
35
@@ -62,4 +60,4 @@ jobs:
62
60
run: go run cmd/loader.go --config pkg/config/test_config_aws.json
63
61
64
62
- name: Check the output
65
-
run: test -f "data/out/experiment_duration_5.csv" && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
63
+
run: test -f "data/out/experiment_duration_5.csv" && test $(cat data/out/experiment_duration_5.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
0 commit comments