Skip to content

Commit

Permalink
ci: Work around rgl sanitizer failure
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Nov 7, 2024
1 parent fd1fd9b commit e43f0fb
Show file tree
Hide file tree
Showing 2 changed files with 2 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")'
1 change: 1 addition & 0 deletions tests/testthat/test-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ test_that("basic plot test, spheres", {
test_that("rglplot() works", {
skip_if_not_installed("rgl")
skip_if(basename(commandArgs())[[1]] == "RDcsan")
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 e43f0fb

Please sign in to comment.