File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 77 example-exercises :
88 runs-on : ubuntu-latest
99 container :
10- image : eclipse-temurin:25
10+ image : eclipse-temurin:24
1111
1212 steps :
1313 - uses : actions/checkout@v1
1414 - name : Install dependencies
1515 run : apt update && apt install -y jq
1616 - name : Evaluate sample exercises
17- run : ./integration-tests/run
17+ run : bash ./integration-tests/run
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- set -e
2+ set -ex
33
44# Default values
55target_dir=" integration-tests"
@@ -70,6 +70,7 @@ while read config; do
7070 , "source": "' " $judge /$source " ' "
7171 }' \
7272 | (timeout -k 10s 60s " $judge /run" 2> /dev/null) \
73+ | tee >( cat > " $test_dir /output.json" ) \
7374 | jq --sort-keys ' if(.command == "append-message")
7475 then .message.description |= gsub("\n at [^\n]+\\([^)]+\\)"; "")
7576 else .
@@ -127,4 +128,4 @@ echo "Major changes: $major_change"
127128if [ " $minor_change " -gt 0 ] || [ " $major_change " -gt 0 ]; then
128129 echo " FAIL. Run with --overwrite to update the results."
129130 exit 1
130- fi
131+ fi
You can’t perform that action at this time.
0 commit comments