Skip to content

Commit

Permalink
Force testing
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Jan 10, 2025
1 parent 6ea60f3 commit 4873274
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/ci-pixi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,30 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@d6e91a2266cdb9d62096cebf1e8546899c6aa18f # v45.0.6
- name: List all changed files
id: changed-toml-files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
ALL_TOML_FILES=""
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
echo "value=$file" >> $GITHUB_OUTPUT
if [[ $file == *.toml ]]; then
ALL_TOML_FILES="$ALL_TOML_FILES $file"
fi
done
- run: |
echo "${{ steps.matrix.outputs.value }}"
run:
ALL_TOML_FILES=${ALL_TOML_FILES# }
echo "All TOML files: ${ALL_TOML_FILES}"
JSON_ALL_TOML="{ \"toml_file\": $(echo [\"$(sed 's/ /","/g' <<< ${ALL_TOML_FILES})\"])}"
echo "files=$JSON_ALL_TOML" | tee -a "$GITHUB_OUTPUT"
pixi_builder:
name: Pixi builder
needs: detection
runs-on: ubuntu-latest
strategy:
matrix:
value: ${{fromJSON(needs.detection.outputs.matrix)}}
matrix: ${{ fromJSON(needs.detection.outputs.matrix) }}
steps:
- name: Install pixi on ${{ matrix.value }}
- name: Install dependencies using pixi on ${{ matrix.toml_file }}
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1
with:
locked: true
cache: false # 10Gb limit might be too low for caching
manifest-path: ${{ matrix.value }}
manifest-path: ${{ matrix.toml_file }}
2 changes: 2 additions & 0 deletions conda/envs/legacy/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ cmake = "3.28.3.*"
colcon-common-extensions = "*"
pkg-config = "*"
vcstool = "*"

# test

0 comments on commit 4873274

Please sign in to comment.