Skip to content

Commit 6068582

Browse files
fix CI
1 parent 9c1d283 commit 6068582

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

run_sample_test.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
using Pkg
2+
Pkg.test(test_args=["sample"])

test/sample.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434

3535
# test warning for initial_parameters (typo)
3636
# Note: initial_parameters will be ignored, but it should warn the user
37-
@test_logs (:warn, r"initial_parameters.*not recognised.*initial_params") (
38-
:warn,
39-
) sample(
37+
@test_logs (:warn, r"initial_parameters.*not recognised.*initial_params") match_mode = :any sample(
4038
MyModel(),
4139
MySampler(),
4240
MCMCThreads(),

0 commit comments

Comments
 (0)