Skip to content

Commit 39a2e1c

Browse files
Intron7ilan-gold
andauthored
add cuda to path (#29)
* add cuda to path * update gpu install * fix github cli * Update .github/workflows/integration-test.yml --------- Co-authored-by: Ilan Gold <ilanbassgold@gmail.com>
1 parent b9865ff commit 39a2e1c

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/integration-test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- {name: "pertpy", extras: "de"}
3333
- {name: "decoupler", extras: ""}
3434
- {name: "SnapATAC2", extras: ""}
35-
- {name: "rapids_singlecell", extras: "rapids12", gpu: true}
35+
- {name: "rapids_singlecell", extras: "rapids-cu12", gpu: true}
3636
exclude:
3737
- { python: 3.12, is_pre: true }
3838

@@ -61,6 +61,12 @@ jobs:
6161
if: matrix.package.gpu
6262
run: nvidia-smi
6363

64+
- name: Add CUDA to PATH
65+
if: matrix.package.gpu
66+
run: |
67+
echo "/usr/local/cuda/bin" >> $GITHUB_PATH
68+
echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
69+
6470
- name: Install Python
6571
uses: actions/setup-python@v5
6672
with:
@@ -129,6 +135,13 @@ jobs:
129135
app-id: ${{ vars.ISSUE_CREATOR_APP_ID }}
130136
private-key: ${{ secrets.ISSUE_CREATOR_PRIVATE_KEY }}
131137

138+
# https://github.com/scverse/gpu-ci-config/issues/4
139+
- name: Install GitHub CLI
140+
if: failure() && matrix.package.gpu
141+
uses: sersoft-gmbh/setup-gh-cli-action@v2
142+
with:
143+
version: stable
144+
132145
- name: Check for open failure issue
133146
if: failure()
134147
id: find_issue

0 commit comments

Comments
 (0)