Skip to content

Commit

Permalink
Give igraph back
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang authored Dec 22, 2022
1 parent 0a0ca96 commit bf726cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ jobs:
extra-packages: |
any::rcmdcheck
github::jasp-stats/jaspTools
cran::igraph
needs: check
cache-version: 2

Expand All @@ -151,6 +150,12 @@ jobs:
jaspTools::setupJaspTools()
shell: Rscript {0}

# so Rstudio's binary for igraph appears to be incompatible (i.e., crashes hard) with GitHub actions. Instead, we install igraph from source
- name: Make sure igraph is installed from source
if: runner.os == 'Linux' && inputs.needs_igraph
run: install.packages("igraph", type = "source", repos = "https://cloud.r-project.org/")
shell: Rscript {0}

- name: Run unit tests
run: source("tests/testthat.R")
shell: Rscript {0}

0 comments on commit bf726cc

Please sign in to comment.