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

Isolate tests for Dockerfile builds using Poetry build includes/excludes #397

Open
d33bs opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@d33bs
Copy link
Member

d33bs commented Apr 3, 2024

Here's another possible change at your discretion. This would make it a bit easier with the context management.

  1. Move ./build/docker/Dockerfile to ./Dockerfile
  2. Add the tests directory as an include for the sdist build artifact but not wheel (instructions)

I think the end result would be that the commands docker build . --target testing would work both in a cloned repo root or in an extracted sdist.

Originally posted by @kenibrewer in #395 (comment)

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

No branches or pull requests

1 participant