mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 02:56:55 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ae735d0b5 | ||
|
|
6513b45da5 |
@@ -13,6 +13,12 @@ inputs:
|
||||
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'
|
||||
project:
|
||||
description: 'Value passed to the --project flag. The default value is the repository root: "@."'
|
||||
default: '@.'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
@@ -33,5 +39,5 @@ runs:
|
||||
# the request metadata to pkg.julialang.org when installing
|
||||
# packages via `Pkg.test`.
|
||||
JULIA_PKG_SERVER: ""
|
||||
- run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --project -e 'using Pkg; Pkg.test(coverage=${{ inputs.coverage }})'
|
||||
- run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --depwarn=${{ inputs.depwarn }} --project=${{ inputs.project }} -e 'using Pkg; Pkg.test(coverage=${{ inputs.coverage }})'
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user