Skip to content

Commit

Permalink
fix translation cannot run on CI as GPU R in not multi-lingual
Browse files Browse the repository at this point in the history
  • Loading branch information
cregouby committed Dec 3, 2023
1 parent 7ea0d2e commit 7d36f85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test_translations.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
test_that("early stopping message get translated in french", {
# skip on linux on ci
testthat::skip_if((testthat:::on_ci() & testthat:::system_os() == "linux"))
testthat::skip_on_cran()
withr::with_language(lang = "fr",
expect_error(
Expand All @@ -11,6 +13,8 @@ test_that("early stopping message get translated in french", {
})

test_that("scheduler message translated in french", {
# skip on linux on ci
testthat::skip_if((testthat:::on_ci() & testthat:::system_os() == "linux"))
testthat::skip_on_cran()
withr::with_language(lang = "fr",
expect_error(
Expand Down

0 comments on commit 7d36f85

Please sign in to comment.