From a05bb34b1fc98a7bc8aaa760b6807fda5874a0bd Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Wed, 8 Jan 2025 19:05:17 +0100 Subject: [PATCH] Force testing Signed-off-by: Jose Luis Rivero --- .github/workflows/ci-pixi.yaml | 22 ++++++++++++++-------- conda/envs/legacy/pixi.toml | 2 ++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-pixi.yaml b/.github/workflows/ci-pixi.yaml index 7b72a0ffc..ea16c25c5 100644 --- a/.github/workflows/ci-pixi.yaml +++ b/.github/workflows/ci-pixi.yaml @@ -19,26 +19,32 @@ 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: - name: Pixi builder + ALL_TOML_FILES=${ALL_TOML_FILES# } + echo "All TOML files: ${ALL_TOML_FILES}" + JSON_ALL_TOML=$(echo [\"$(sed 's/ /","/g' <<< ${ALL_TOML_FILES})\"]) + echo "All TOML files JSON: ${JSON_ALL_TOML}" + echo "matrix=${JSON_ALL_TOML}" >> $GITHUB_OUTPUT + pixi_builder: + name: Pixi builderfromJSONu needs: detection runs-on: ubuntu-latest strategy: matrix: - value: ${{fromJSON(needs.detection.outputs.matrix)}} + value: ${{ fromJSON(needs.detection.outputs.matrix) }} steps: - name: Install pixi on ${{ matrix.value }} 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 }} \ No newline at end of file + manifest-path: ${{ matrix.value }} diff --git a/conda/envs/legacy/pixi.toml b/conda/envs/legacy/pixi.toml index 51d1b5f2f..d220face0 100644 --- a/conda/envs/legacy/pixi.toml +++ b/conda/envs/legacy/pixi.toml @@ -59,3 +59,5 @@ cmake = "3.28.3.*" colcon-common-extensions = "*" pkg-config = "*" vcstool = "*" + +# test