From 14aa2ee38b4bc8f38de73e9f52e0eacd5f4759d9 Mon Sep 17 00:00:00 2001 From: egillax Date: Tue, 17 Dec 2024 11:01:57 +0100 Subject: [PATCH] windows special case --- .github/workflows/R_CDM_check_hades.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/R_CDM_check_hades.yaml b/.github/workflows/R_CDM_check_hades.yaml index 957534a..e8be6f5 100644 --- a/.github/workflows/R_CDM_check_hades.yaml +++ b/.github/workflows/R_CDM_check_hades.yaml @@ -83,9 +83,16 @@ jobs: needs: check - name: setup r-reticulate venv + if: runner.os != 'windows-latest' run: | uv pip install polars tqdm connectorx pyarrow pynvml numpy && \ uv pip install torch --index https://download.pytorch.org/whl/cpu/ + + - name: setup r-reticulate venv windows + if: runner.os == 'windows-latest' + run: | + uv pip install polars tqdm connectorx pyarrow pynvml numpy; + uv pip install torch --index https://download.pytorch.org/whl/cpu/ - uses: r-lib/actions/check-r-package@v2 with: