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

initial addition of integration test #804

Merged
merged 40 commits into from
Feb 15, 2024

Conversation

ruben-arts
Copy link
Contributor

No description provided.

@ruben-arts ruben-arts marked this pull request as ready for review February 14, 2024 07:53
.github/workflows/rust.yml Show resolved Hide resolved
Comment on lines 393 to 408
- name: Help
run: pixi --help
- name: Info
run: pixi info
- name: Install pixi
run: pixi install -v
- name: Test examples/polarify
run: pixi run -v --manifest-path examples/polarify/pixi.toml test
- name: Test examples/pypi
# Skip windows until this error is solved: `× could not get artifact: Access is denied. (os error 5)`
if: matrix.os != 'windows-latest'
run: pixi run -v --manifest-path examples/pypi/pixi.toml test
- name: Test examples/solve-groups
run: |
pixi run -v --manifest-path examples/solve-groups/pixi.toml -e min-py38 test
pixi run -v --manifest-path examples/solve-groups/pixi.toml -e max-py310 test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldnt it make sense to just add a bash/nushell script to do this? That would also make it much easier to run locally.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that is a good idea, as in put all the run scripts in a test_examples.sh ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah basically, although using a cross platform shell would be nicer ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bash is luckily cross platform in actions. Nushell would have needed to be installed and I hate pwsh

@ruben-arts ruben-arts enabled auto-merge (squash) February 15, 2024 15:28
@ruben-arts ruben-arts merged commit 2c8e724 into prefix-dev:main Feb 15, 2024
15 checks passed
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.

2 participants