diff --git a/.github/workflows/test-skripts.yml b/.github/workflows/test-skripts.yml index a682003..700330c 100644 --- a/.github/workflows/test-skripts.yml +++ b/.github/workflows/test-skripts.yml @@ -20,7 +20,7 @@ on: - .github/workflows/test-skripts.yml concurrency: - group: run-tests + group: run-tests-${{ github.head_ref || github.ref }} cancel-in-progress: true permissions: @@ -62,7 +62,6 @@ jobs: rsync -av scripts/ tests/scripts/ mv tests/scripts/libs/singlelinesection.sk tests/scripts/libs/0_singlelinesection.sk rm -f tests/scripts/utils/testframework.sk - rm -f tests/scripts/libs/pdc.sk rm -f tests/scripts/utils/configreloadv2.sk @@ -74,7 +73,7 @@ jobs: test_script_directory: tests # Skript version or ref (tag, branch, or commit) - skript_repo_ref: copy-dir-resources # 2.13.2 + skript_repo_ref: ef28bd5 # 2.13.2 # directory containing addon/plugin jars (relative to repo root) extra_plugins_directory: build/libs diff --git a/README.md b/README.md index c8952a2..48c0399 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,13 @@ If you encounter errors such as `Can't understand this expression`, the issue is Skript loads files alphabetically, with folders being prioritized. To control load order, prefix the Skript file with a folder or a character such as `0_` or `!` (e.g., `!testframework.sk`) + +## TODO + +Currents plans include: +- multiline lambda expression +- making the test framework support extending over the skriptlang native test suit + +--- + +**For technical details, I recommend you to use deepwiki** diff --git a/docs/pdc.md b/docs/pdc.md index 3693a94..2adee52 100644 --- a/docs/pdc.md +++ b/docs/pdc.md @@ -44,7 +44,6 @@ Scripts do **not** require syntax changes, but values written by older versions - Paper server - Skript - skript-reflect -- skBee --- diff --git a/docs/testframework.md b/docs/testframework.md index 77be093..6c4cec1 100644 --- a/docs/testframework.md +++ b/docs/testframework.md @@ -63,7 +63,6 @@ test "" [when ]: ``` -* `` must be unique **within the script** * Tests are registered automatically when the script is parsed * The optional `when` condition is evaluated immediately before execution @@ -75,7 +74,7 @@ Inside a test, the framework provides: Fully-qualified test identifier: ``` -