-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
31 lines (29 loc) · 1.03 KB
/
action.yml
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
name: 'Skript Tests'
description: 'Runs Skript tests'
inputs:
jdk_version:
description: 'The JDK version to use (either 21.0.3-tem or 17.0.11-tem)'
required: false
test_script_directory:
description: 'The directory containing the tests to run'
required: false
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 }}