enable gfp testing, add gfp to dependencies#479
Merged
Conversation
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRe-enables GFP tests as a separate CI job and updates the package configuration to depend on gdsfactoryplus with a stricter Python version requirement, aligning the project with GFP-based testing in the FOSS PDK. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
|
Label error. Requires at least 1 of: breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security. Found: |
Contributor
|
Label error. Requires at least 1 of: breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security. Found: |
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In the new
test_gfpjob, the step nameTest with pytestis misleading since it runsuv run gfp test; consider renaming the step to better reflect that it’s running GFP tests. - You’ve pinned
gdsfactoryplusto an exact version (==1.3.7); consider using a compatible range (e.g.~=1.3.7) unless there’s a strong reason to lock it strictly, to reduce the risk of dependency conflicts in downstream environments. - Since both
testandtest_gfpjobs install the same dependencies viamake install, consider adding a shared cache step (e.g. for theuv/pip cache) to speed up CI runs and reduce redundant installs.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In the new `test_gfp` job, the step name `Test with pytest` is misleading since it runs `uv run gfp test`; consider renaming the step to better reflect that it’s running GFP tests.
- You’ve pinned `gdsfactoryplus` to an exact version (`==1.3.7`); consider using a compatible range (e.g. `~=1.3.7`) unless there’s a strong reason to lock it strictly, to reduce the risk of dependency conflicts in downstream environments.
- Since both `test` and `test_gfp` jobs install the same dependencies via `make install`, consider adding a shared cache step (e.g. for the `uv`/pip cache) to speed up CI runs and reduce redundant installs.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Contributor
Author
|
Well - the important stuff works |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
After dialogue with @flaport
GFP_API_KEYsecret has been added to the GDSFactory Organisation - so we can re-enable GFP testing and add GFP to the list of dependencies in the FOSS PDK.Not exposing these GFP tests through
make test/test-forceis the right call as FOSS users might not have/want GFP keys :)Summary by Sourcery
Enable GFP testing in CI and update project dependencies and Python version requirements.
New Features:
uv run gfp test.Enhancements:
CI:
test_gfpthat installs dependencies and executes GFP tests separately from the main test job.