File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -34,26 +34,25 @@ jobs:
34
34
id : unit
35
35
run : cabal test unit
36
36
37
- - name : Print unit failures
38
- if : ${{ failure() && steps.unit.conclusion == 'failure' }}
39
- run : |
40
- cd test/unit/goldens
41
-
42
- for f in $(ls); do
43
- echo "$f"
44
- cat "$f"
45
- done
46
-
47
37
- name : Functional Tests
48
38
id : functional
49
- run : cabal test functional
39
+ shell : bash
40
+ run : NO_CLEANUP=1 cabal test functional
50
41
51
42
- name : Print functional failures
52
43
if : ${{ failure() && steps.functional.conclusion == 'failure' }}
44
+ shell : bash
53
45
run : |
54
- cd test/functional/goldens
55
46
56
- for f in $(ls); do
57
- echo "$f"
58
- cat "$f"
59
- done
47
+ if [[ ! -d output/logs ]]; then
48
+ echo "*** No output ***"
49
+ else
50
+ cd output/logs
51
+
52
+ for dir in */; do
53
+ echo "*** $d stdout ***"
54
+ cat "$dir/stdout.log"
55
+ echo "*** $d stderr ***"
56
+ cat "$dir/stderr.log"
57
+ done
58
+ fi
You can’t perform that action at this time.
0 commit comments