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 Docker Support #32

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Add Docker Support #32

merged 1 commit into from
Dec 3, 2024

Conversation

epair
Copy link
Contributor

@epair epair commented Dec 1, 2024

Closes #11

This PR adds support for running minitest in a docker container through a couple of new config options:

  • transform_spec_path allows the spec path to be modified before being passed to minitest. When running in a docker container a relative path needs to be used instead of an absolute path.
  • results_path allows the results file to be modified so that it's available to both the docker container and host.

Thanks to @ramblex for the neotest-rspec PR which this PR basically copies.

@zidhuss zidhuss merged commit 7ff057d into zidhuss:main Dec 3, 2024
1 check passed
@zidhuss
Copy link
Owner

zidhuss commented Dec 3, 2024

Thanks! 🚀

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.

Is it possible to use relative path to test file?
2 participants