Browse Source

Use the same Docker image to run programs during exams

pull/693/head
xpetit 4 years ago
parent
commit
98ba464143
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 6
      go/tests/entrypoint.sh

6
go/tests/entrypoint.sh

@ -4,6 +4,12 @@ set -e
cd student
if test "$EXAM_RUN_ONLY" = true; then
go build -o exe .
./exe "$@"
exit
fi
if ! test "$SKIP_FORMATTING"; then
s=$(goimports -d .)
if test "$s"; then

Loading…
Cancel
Save