Skip to content

Add test job

Add test job #1

Workflow file for this run

name: Test build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- uses: SkriptLang/skript-test-action@v1.0
with:
test_script_directory: src/test/scripts
run_vanilla_tests: false
skript_repo_ref: 2.8.2
extra_plugins_directory: build/libs