Convert to composite action

This commit is contained in:
Sascha Mann
2020-08-04 16:27:39 +02:00
parent 98898a5145
commit 4965e73fab

View File

@@ -1,10 +1,14 @@
name: 'Run Julia package tests' name: 'Run Julia package tests'
description: 'Run the tests in a Julia package' description: 'Run the tests in a Julia package'
author: 'David Anthoff' author: 'David Anthoff'
inputs: 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'
runs: runs:
using: 'node12' using: 'composite'
main: 'lib/main.js' steps:
- run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --project -e 'using Pkg; Pkg.test(coverage=true)'
shell: bash