DEV-5380 Change go test image to handle new and old version of the runner #174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DEV-5380
The updated runner now supports running code with multiple files. This enhancement enables students to complete exercises that require a package other than 'main' as the expected entry point. When running their code in the editor, the 'main' package will be provided in a
main.go
file and can be used to execute their programs.In order to enable synchronization, we are introducing the new variable
EDITOR_FILES
, which contains all the files in the editor. It's essential to ensure compatibility with both the new and old versions of the runner. During image deployment, schools will continue to use the old runner version untilall
is deployed to schools.