Add prod_editable_install option to CI pipeline for testing without dev extras #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new option called
prod_editable_install
to the CI pipeline. This option allows us to test the application in an environment similar to the production environment by installing only the main dependencies without the development extras.By setting
prod_editable_install
totrue
, the CI pipeline will usepip install -e .
instead ofpip install -e .[dev]
. This helps us automatically catch errors related to missing production dependencies and ensures that our application runs smoothly in production.Here's a summary of the changes made in this PR:
prod_editable_install
to the GitHub Action.Test with nbdev
section to conditionally usepip install -e .
orpip install -e .[dev]
based on the value ofprod_editable_install
.Please review the changes and let me know if you have any questions or suggestions.