Skip to content

Commit

Permalink
ci: Work around rgl sanitizer failure (#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Nov 8, 2024
2 parents 5290ead + fb1a19b commit cb00ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ jobs:
printenv
cd rigraph
RDcsan CMD INSTALL . --no-byte-compile
TESTTHAT_PARALLEL=false CI=true RDcsan -q -e 'testthat::test_local(reporter = c("location", "summary"), load_package = "installed")'
TESTTHAT_PARALLEL=false CI=true IGRAPH_SANITIZER=true RDcsan -q -e 'testthat::test_local(reporter = c("location", "summary"), load_package = "installed")'
2 changes: 2 additions & 0 deletions tests/testthat/test-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ test_that("basic plot test, spheres", {
test_that("rglplot() works", {
skip_if_not_installed("rgl")
skip_if(basename(commandArgs())[[1]] == "RDcsan")
# https://github.com/dmurdoch/rgl/issues/439
skip_if(identical(Sys.getenv("IGRAPH_SANITIZER"), "true"))

# https://stackoverflow.com/a/46320771/5489251
withr::local_envvar(RGL_USE_NULL = TRUE)
Expand Down

0 comments on commit cb00ac3

Please sign in to comment.