Enhance /rtp Command with Flexible World and Server Options, Fix Cross-Server Compatibility #443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Carry out tests on pull requests | |
name: PR Tests | |
on: | |
pull_request: | |
branches: [ 'master' ] | |
permissions: | |
contents: read | |
checks: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout for CI 🛎' | |
uses: actions/checkout@v4 | |
- name: 'Set up JDK 21 📦' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: 'Build with Gradle 🏗️' | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: test | |
- name: 'Publish Test Report 📊' | |
uses: mikepenz/action-junit-report@v5 | |
if: success() || failure() # Continue on failure | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' |