Browse code

use py_install in action

vjcitn authored on 03/08/2024 10:23:48
Showing 1 changed files

... ...
@@ -29,9 +29,6 @@ jobs:
29 29
         with:
30 30
           python-version: '3.9'
31 31
 
32
-      - name: Install scanpy
33
-        run: python -m pip install --upgrade pip setuptools wheel scanpy owlready2
34
-
35 32
       - name: Install quarto
36 33
         run: |
37 34
           sudo curl -o quarto-linux-amd64.deb -L https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.551/quarto-1.4.551-linux-amd64.deb
... ...
@@ -42,6 +39,8 @@ jobs:
42 39
         run: |
43 40
           BiocManager::install(ask=FALSE)
44 41
           BiocManager::install("magick")
42
+          BiocManager::install("reticulate")
43
+          reticulate::py_install("owlready2", pip=TRUE)
45 44
           saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
46 45
         shell: Rscript {0}
47 46