Skip to content

Commit 160e254

Browse files
authored
Update index.qmd
1 parent 20445d8 commit 160e254

File tree

1 file changed

+7
-1
lines changed
  • tutorials/docs-01-contributing-guide

1 file changed

+7
-1
lines changed

tutorials/docs-01-contributing-guide/index.qmd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ The test suite subdivides into files in the `test` folder, and you can run only
2828
Pkg.test("Turing"; test_args=["optim", "hmc", "--skip", "ext"])
2929
```
3030

31-
This one would run all files with "optim" or "hmc" in their path, such as `test/optimisation/Optimisation.jl`, but not files with "ext" in their path. Alternatively you can set these arguments as command line arguments when you run Julia, or otherwise set the global `ARGS` variable, and call `include("test/runtests.jl")`.
31+
This one would run all files with "optim" or "hmc" in their path, such as `test/optimisation/Optimisation.jl`, but not files with "ext" in their path. Alternatively, you can set these arguments as command line arguments when you run Julia
32+
33+
```julia
34+
julia --project=. -e 'import Pkg; Pkg.test(; test_args=ARGS)' -- optim hmc --skip ext
35+
```
36+
37+
Or otherwise, set the global `ARGS` variable, and call `include("test/runtests.jl")`.
3238

3339
### Style Guide
3440

0 commit comments

Comments
 (0)