Repository navigation
Optional support for running tests with Pixi - #1195
Merged
Merged
Conversation
Collaborator
Author
|
The killer feature here is the lockfile. |
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.
While working on #1188, I wound up adding support for running the tests with Pixi. I figured I'd submit those changes too, since it would make it easier for me (and maybe others) to run the tests in the future.
Pixi has two ways you add support: pyproject.toml, or a separate pixi.toml file. I went with the pyproject.toml route since it lets pixi re-use the dependency groups inside pyproject.toml.
This PR shouldn't affect the ability to install apstools with mamba, conda, pip, etc.
This PR does not change anything about how github workflows are run. I'd be willing to switch the github
code.ymlto use pixi in the future if we find that there's enough benefit in having a lockfile.This PR does not use Pixi for managing any external dependencies for the tests, like the GP and ADSIM IOC's.