Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cooffeeRequired committed Jan 25, 2025
1 parent 7bcc6e0 commit ebc62c9
Showing 1 changed file with 1 addition and 44 deletions.
45 changes: 1 addition & 44 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,3 @@
<<<<<<< HEAD:.github/workflows/skript-test.yml
name: Build and test

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew shadow -Penv=TEST
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
path: build/libs/*.jar
test:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: extra-plugins/
merge-multiple: true
- name: Run tests
uses: SkriptLang/skript-test-action@feature/performance
with:
test_script_directory: src/test/scripts/
extra_plugins_directory: extra-plugins/
=======
name: SkJson Tests

on:
Expand All @@ -61,7 +19,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew shadow
run: ./gradlew shadow -Penv=TEST
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
Expand All @@ -83,4 +41,3 @@ jobs:
run_vanilla_tests: false
test_script_directory: src/test/scripts
extra_plugins_directory: extra-plugins/
>>>>>>> origin/main:.github/workflows/tests.yml

0 comments on commit ebc62c9

Please sign in to comment.