Skip to content

Commit

Permalink
Update index.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Jun 7, 2024
1 parent 20445d8 commit 160e254
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tutorials/docs-01-contributing-guide/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ The test suite subdivides into files in the `test` folder, and you can run only
Pkg.test("Turing"; test_args=["optim", "hmc", "--skip", "ext"])
```

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")`.
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

```julia
julia --project=. -e 'import Pkg; Pkg.test(; test_args=ARGS)' -- optim hmc --skip ext
```

Or otherwise, set the global `ARGS` variable, and call `include("test/runtests.jl")`.

### Style Guide

Expand Down

0 comments on commit 160e254

Please sign in to comment.