Skip to content

Commit

Permalink
fix: test all examples in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejager committed Sep 9, 2024
1 parent ba66bd0 commit 0e7067e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
run: pixi install -v
- name: Test examples
shell: bash
run: bash tests/test_examples.sh
run: pixi run run-all-examples-ci

# Run integration tests that test the command line
# pixi interface
Expand Down
3 changes: 3 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ bump = "tbump --only-patch $RELEASE_VERSION"
install = "cargo install --path . --locked"
pypi-proxy = "python ./tests/pypi_proxy.py"
release = "python scripts/release.py"
# Run all examples on the dev machine
run-all-examples = { cmd = "python ./tests/run_all_examples.py --pixi-exec .pixi/target/release/pixi", depends-on = [
"build",
] }
# Run all examples on the CI machine
run-all-examples-ci = { cmd = "python ./tests/run_all_examples.py" }
test = "cargo test"
test-all = "cargo test --all-features"

Expand Down

0 comments on commit 0e7067e

Please sign in to comment.