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
{{ message }}
This repository has been archived by the owner on May 2, 2024. It is now read-only.
I have created an assignment to write a go program and created tests for the same. One test is input-output test for STDIN and STDOUT, which checks if the program returns the expected value. Second test is run command which will run "echo "3 2 1" | ./opgame" Terminal command that passes the input to test.
However when I run the script I get following error
As shown in image it is asking for build cache, GOCACHE
Is it possible to write auto-grading for GO programming language.
The text was updated successfully, but these errors were encountered:
AFAIK, Go only needs the $HOME env var to be set. I have a PR to enable this #53
In the meantime, you could try setting the env var on each process run by prepending each grading command with $HOME=/home/runner. e.g. $HOME=/home/runner echo "3 2 1" | ./opgame or see #23 (comment)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I have created an assignment to write a go program and created tests for the same. One test is input-output test for STDIN and STDOUT, which checks if the program returns the expected value. Second test is run command which will run "echo "3 2 1" | ./opgame" Terminal command that passes the input to test.
However when I run the script I get following error
As shown in image it is asking for build cache, GOCACHE
Is it possible to write auto-grading for GO programming language.
The text was updated successfully, but these errors were encountered: