Skip to content

Commit 9c401e7

Browse files
committed
chore: set up pixi for simulator
1 parent a15c55f commit 9c401e7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/conda-python-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ jobs:
113113
- name: Setup proxy cache
114114
uses: nv-gha-runners/setup-proxy-cache@main
115115
continue-on-error: true
116-
117116
- name: Compute pixi environment name
118117
run: |
119118
set -euo pipefail

.github/workflows/simulator-test.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
102102
- name: Setup proxy cache
103103
uses: nv-gha-runners/setup-proxy-cache@main
104+
- name: Compute pixi environment name
105+
run: |
106+
set -euo pipefail
107+
PIXI_ENV="cu-$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
108+
echo "PIXI_ENV=${PIXI_ENV}" >> "${GITHUB_ENV}"
109+
- name: Setup pixi
110+
uses: prefix-dev/setup-pixi@fef5c9568ca6c4ff7707bf840ab0692ba3f08293
111+
with:
112+
environments: ${{ env.PIXI_ENV }}
104113
- name: Python tests
105114
run: ${{ inputs.script }}
106115
env:

0 commit comments

Comments
 (0)