-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (30 loc) · 1.06 KB
/
action.yml
File metadata and controls
32 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Skript Tests'
description: 'Runs Skript tests'
inputs:
skript_repo_url:
description: "Git repository URL for Skript"
required: false
default: "https://github.com/SkriptLang/Skript.git"
test_script_directory:
description: 'The directory containing the tests to run'
required: true
skript_repo_ref:
description: 'The Git reference of the Skript version to test with (this can be a commit sha, branch, tag, etc.)'
required: false
run_vanilla_tests:
description: 'Controls whether or not the vanilla Skript tests are run. It is recommended you keep this on to ensure your addon doesn''t change vanilla behavior'
required: false
default: 'true'
extra_plugins_directory:
description: 'The directory containing the plugins to install on the test server alongside Skript'
required: false
#outputs:
# passed:
# description: 'Whether or not the tests passed'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.test-script-directory }}
- ${{ inputs.skript-repo-ref }}
- ${{ inputs.run-vanilla-tests }}