Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add core Racket tests #36

Merged
merged 5 commits into from
Nov 20, 2017
Merged

Add core Racket tests #36

merged 5 commits into from
Nov 20, 2017

Conversation

jackfirth
Copy link
Collaborator

@jackfirth jackfirth commented Nov 20, 2017

Closes #31.

The reason this wasn’t working before is because some of the tests run by tests/racket/test assumed they wouldn’t be run as the root user, leading to problems when run in Docker. Creating a racket user in the testing images and adding a USER instruction to run the tests under that user solves the problem.

Ensures tests run as the racket user can modify racket directories like
the package and collection installation directories.
They’re still run as separate services in docker-compose, but now the
same Dockerfile and image is used (just with different commands). This
lets use use the USER instruction to set the user to `racket` instead
of `root` without messing up installation of GUI packages with
`apt-get`. Also adds a YAML anchor for the GUI test service to make the
configuration a little less repetitive.
@jackfirth jackfirth merged commit 8e8c325 into master Nov 20, 2017
@jackfirth jackfirth deleted the racket-tests branch November 20, 2017 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants