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

Tweak smoke tests #62

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Tweak smoke tests #62

merged 1 commit into from
Aug 22, 2023

Conversation

ErikSchierboom
Copy link
Member

@ErikSchierboom ErikSchierboom commented Aug 17, 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 17, 2023 08:03
@ErikSchierboom ErikSchierboom force-pushed the tweak-smoke-tests branch 3 times, most recently from e24eb1b to 523f331 Compare August 17, 2023 08:23
@ErikSchierboom ErikSchierboom merged commit 6e41c0c into main Aug 22, 2023
@ErikSchierboom ErikSchierboom deleted the tweak-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 TypeScript 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