mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 11:06:54 +08:00
Add test failure annotations on v1.8+ (#58)
Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
This commit is contained in:
@@ -33,10 +33,14 @@ jobs:
|
||||
arch: ${{ matrix.julia-arch }}
|
||||
- uses: julia-actions/julia-buildpkg@v1
|
||||
- uses: julia-actions/julia-runtest@v1
|
||||
with:
|
||||
annotate: true
|
||||
```
|
||||
|
||||
You can add this workflow to your repository by placing it in a file called `test.yml` in the folder `.github/workflows/`. [More info here](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions).
|
||||
|
||||
Here, setting `annotate: true` causes GitHub "annotations" to appear when reviewing the PR, pointing to failing tests, if any.
|
||||
By default, `annotate` is set to false, but that may change in future releases of this action.
|
||||
### Prefixing the Julia command
|
||||
|
||||
In some packages, you may want to prefix the `julia` command with another command, e.g. for running tests of certain graphical libraries with `xvfb-run`.
|
||||
|
||||
Reference in New Issue
Block a user