Skip to content

Commit

Permalink
skip ci in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellga committed Jun 23, 2024
1 parent 0463f9c commit be3a60e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions r-harmonium/tests/testthat/test_haudiosink.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# The CI may not have audio support available.
skip_on_ci()

test_that(
"haudiosink works.",
{
# The CI may not have audio support available.
skip_on_ci()

harmonium_path = system.file(package = "harmonium")
filepath = file.path(harmonium_path, "testfiles", "gs-16b-2c-44100hz.wav")

Expand Down
6 changes: 3 additions & 3 deletions r-harmonium/tests/testthat/test_hfile.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# The CI may not have audio support available.
skip_on_ci()

test_that(
"hfile works.",
{
# The CI may not have audio support available.
skip_on_ci()

harmonium_path = system.file(package = "harmonium")
filepath = file.path(harmonium_path, "testfiles", "gs-16b-2c-44100hz.flac")
expect_equal(HFile$params(filepath), c(44100.00000,698194.00000,2.00000,15.8320635))
Expand Down

0 comments on commit be3a60e

Please sign in to comment.