-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d6b18e
commit a255910
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'OpenActive Test Suite' | ||
description: 'Test suite for OpenActive implementations' | ||
inputs: | ||
args: # id of input | ||
description: 'Arguments to pass to `npm start` of OpenActive Test Suite' | ||
required: false | ||
default: '' | ||
config: # id of input | ||
description: 'The path of a config file to copy into ./config/ of OpenActive Test Suite' | ||
required: false | ||
default: '' | ||
NODE_CONFIG: # id of input | ||
description: 'JSON configuration string to pass into OpenActive Test Suite' | ||
required: true | ||
default: '{ "ci": true }' | ||
NODE_ENV: # id of input | ||
description: 'Value of NODE_ENV environment variable to pass into OpenActive Test Suite' | ||
required: false | ||
default: '' | ||
NODE_APP_INSTANCE: # id of input | ||
description: 'Value of NODE_APP_INSTANCE environment variable to pass into OpenActive Test Suite' | ||
required: false | ||
default: '' | ||
runs: | ||
using: 'docker' | ||
image: 'docker://ghcr.io/openactive/test-suite:latest' | ||
args: | ||
- ${{ inputs.args }} | ||
env: | ||
FORCE_COLOR: 1 | ||
NODE_CONFIG: ${{ inputs.NODE_CONFIG }} | ||
NODE_ENV: ${{ inputs.NODE_ENV }} | ||
NODE_APP_INSTANCE: ${{ inputs.NODE_APP_INSTANCE }} |