diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index 5a437ccf3..89f297206 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -19,7 +19,8 @@ env: # mpich >=5 is built as ch4:ucx,ofi, so UCX is the default netmod. Azure-hosted # GitHub runners expose a MANA RDMA device that UCX tries (and fails) to open, # so MPI_Init() aborts inside ESMF_RegridWeightGen. Restrict UCX to transports - # that actually work on the runners. + # that actually work on the runners. rattler-build does not pass this through + # to its test environment, so ci/recipe/recipe.yaml sets it separately. UCX_TLS: "tcp,self,sm" jobs: @@ -55,7 +56,7 @@ jobs: - if: ${{ steps.skip_check.outputs.should_skip != 'true' }} name: Set up Pixi - uses: prefix-dev/setup-pixi@v0.10.2 + uses: prefix-dev/setup-pixi@v0.11.0 with: environments: ${{ matrix.pixi-environment }} @@ -102,7 +103,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Pixi - uses: prefix-dev/setup-pixi@v0.10.2 + uses: prefix-dev/setup-pixi@v0.11.0 with: environments: ${{ matrix.pixi-environment }} diff --git a/.github/workflows/docs_workflow.yml b/.github/workflows/docs_workflow.yml index 7a468ba56..b260173aa 100644 --- a/.github/workflows/docs_workflow.yml +++ b/.github/workflows/docs_workflow.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Set up Pixi - uses: prefix-dev/setup-pixi@v0.10.2 + uses: prefix-dev/setup-pixi@v0.11.0 with: environments: py314 diff --git a/ci/recipe/recipe.yaml b/ci/recipe/recipe.yaml index 380593b76..a9c4136e2 100644 --- a/ci/recipe/recipe.yaml +++ b/ci/recipe/recipe.yaml @@ -66,11 +66,18 @@ tests: - pytest - python ${{ python_min }}.* script: - - pytest --pyargs mpas_analysis - - mpas_analysis --help - - mpas_analysis --list - - mpas_analysis --plot_colormaps - - download_analysis_data --help + # rattler-build does not pass the caller's environment through to test + # scripts, so the UCX_TLS workaround in build_workflow.yml does not reach + # here. Without it, MPI_Init() in ESMF_RegridWeightGen fails on GitHub + # runners that expose a MANA RDMA device. + env: + UCX_TLS: tcp,self,sm + content: + - pytest --pyargs mpas_analysis + - mpas_analysis --help + - mpas_analysis --list + - mpas_analysis --plot_colormaps + - download_analysis_data --help about: license: BSD-3-Clause