Skip to content

Commit dc3ecc4

Browse files
committed
Check in CI
1 parent 6caa0d6 commit dc3ecc4

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/testpr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ env:
1111
IGNORE_CACHE_AND_DO_FULL_REBUILD: 'false'
1212

1313
jobs:
14+
sort-check:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- uses: prefix-dev/setup-pixi@v0.9.4
23+
with:
24+
frozen: true
25+
26+
- name: Check sorting
27+
run: |
28+
pixi run sort --check
29+
1430
build:
1531
strategy:
1632
fail-fast: false

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ check-patches = { cmd = "python check_patches_clean_apply.py", depends-on = ["ge
3838
create_snapshot = { cmd = "vinca-snapshot -d rolling -o rosdistro_snapshot.yaml" }
3939
upload = "rattler-build upload prefix -c robostack-rolling --generate-attestation"
4040
build_continue_on_failure = { cmd = "rattler-build build --recipe-dir ./recipes -m ./conda_build_config.yaml -c robostack-rolling -c https://repo.prefix.dev/conda-forge --continue-on-failure --skip-existing", depends-on = ["generate-recipes"] }
41-
sort = "vinca-sort-vinca-lists vinca.yaml && vinca-sort-yaml-keys pkg_additional_info.yaml robostack.yaml rosdistro_additional_recipes.yaml"
41+
sort = "sh -lc 'vinca-sort-vinca-lists $@ vinca.yaml && vinca-sort-yaml-keys $@ pkg_additional_info.yaml robostack.yaml rosdistro_additional_recipes.yaml' --"
4242

4343
[tasks.build]
4444
cmd = "rattler-build build --recipe-dir ./recipes -m ./conda_build_config.yaml -c https://prefix.dev/robostack-rolling -c https://prefix.dev/conda-forge --skip-existing"

0 commit comments

Comments
 (0)