Fix api name in comments of BlockBehavior
#4424
Workflow file for this run
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
name: Run PR gametests | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- ready_for_review | |
- reopened | |
push: | |
branches: | |
- 'feature/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: neoforged/actions/checkout@main | |
- name: Setup JDK 21 | |
uses: neoforged/actions/setup-java@main | |
with: | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
cache-read-only: false | |
- name: Setup with Gradle | |
run: ./gradlew setup | |
- name: Run game tests with Gradle | |
run: ./gradlew :tests:runGameTestServer | |
- name: Run JUnit tests with Gradle | |
run: ./gradlew :tests:runUnitTests | |
- name: Install software OpenGL rendering | |
run: sudo apt-get install xvfb libgl1-mesa-dri | |
- name: Run production client self-test | |
run: xvfb-run ./gradlew :neoforge:testProductionClient | |
- name: Run production server self-test | |
run: ./gradlew :neoforge:testProductionServer | |
- name: Store reports | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: reports | |
path: | | |
**/build/reports/ | |
**/build/test-results/ |