Skip to content

Add Docker smoke tests #764

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

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Add Docker smoke tests #764

merged 1 commit into from
Aug 22, 2023

Conversation

ErikSchierboom
Copy link
Member

@ErikSchierboom ErikSchierboom commented Aug 16, 2023

This PR allow for running the smoke tests within a Docker environment. This reduces the likelihood of CI passing even though the actual Docker image does not work as intended.

There already were smoke tests, but I couldn't get them to run inside the Docker image (permissions issues). I thus opted for an hybrid approach, where the existing smoke tests are augmented with an expected_results.json file.

If successful, we then know that:

  • The Docker image can be built successfully
  • The bin/run.sh entrypoint inside the Docker image is setup correctly
  • The test runner generates the correct output

@ErikSchierboom ErikSchierboom requested a review from a team as a code owner August 16, 2023 12:31
@ErikSchierboom ErikSchierboom force-pushed the docker-smoke-tests branch 3 times, most recently from 4efdf46 to 415fe21 Compare August 17, 2023 08:29
@ErikSchierboom ErikSchierboom merged commit b94fac8 into main Aug 22, 2023
@ErikSchierboom ErikSchierboom deleted the docker-smoke-tests branch August 22, 2023 07:05
@ErikSchierboom
Copy link
Member Author

@SleeplessByte I'm gonna go ahead and merge this as I feel that it is really important to have Docker-based smoke tests for the JavaScript test runner. If you'd like me to change things let me know.

@SleeplessByte
Copy link
Member

@ErikSchierboom that's fine! I trust youuuuu

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.

2 participants