mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 11:06:54 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6513b45da5 | ||
|
|
2976a507b0 |
@@ -10,6 +10,12 @@ inputs:
|
|||||||
inline:
|
inline:
|
||||||
description: 'Value passed to the --inline flag. Options: yes | no. Default value: yes.'
|
description: 'Value passed to the --inline flag. Options: yes | no. Default value: yes.'
|
||||||
default: 'yes'
|
default: 'yes'
|
||||||
|
coverage:
|
||||||
|
description: 'Value determining whether to test with coverage or not. Options: true | false. Default value: true.'
|
||||||
|
default: 'true'
|
||||||
|
depwarn:
|
||||||
|
description: 'Value passed to the --depwarn flag. Options: yes | no | error. Default value: yes.'
|
||||||
|
default: 'yes'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -30,5 +36,5 @@ runs:
|
|||||||
# the request metadata to pkg.julialang.org when installing
|
# the request metadata to pkg.julialang.org when installing
|
||||||
# packages via `Pkg.test`.
|
# packages via `Pkg.test`.
|
||||||
JULIA_PKG_SERVER: ""
|
JULIA_PKG_SERVER: ""
|
||||||
- run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --project -e 'using Pkg; Pkg.test(coverage=true)'
|
- run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --depwarn=${{ inputs.depwarn }} --project -e 'using Pkg; Pkg.test(coverage=${{ inputs.coverage }})'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user