allow having custom test commands
This commit is contained in:
parent
9d49a43685
commit
4f31a65c5b
|
@ -2,6 +2,12 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
test-command:
|
||||||
|
description: 'Test command(s) that should be used to test a package'
|
||||||
|
default: 'nimble test'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
concurrency: # Cancel stale PR builds (but not push builds)
|
concurrency: # Cancel stale PR builds (but not push builds)
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||||
|
@ -140,4 +146,4 @@ jobs:
|
||||||
nimble --version
|
nimble --version
|
||||||
gcc --version
|
gcc --version
|
||||||
nimble install -y --depsOnly
|
nimble install -y --depsOnly
|
||||||
nimble test
|
${{ inputs.test-command }}
|
||||||
|
|
Loading…
Reference in New Issue