mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-20 04:09:45 +00:00
[Target 2.10+] Port ForgeMultipart to Java. Checkpoint with binary compatibility preserved for safe consumers port. (#59)
This commit is contained in:
1 parent
264aa16cf0
commit
3b181eb231
618 files changed
+61535
-9991
No files matched your search
@@ -11,3 +11,49 @@ jobs:
|
||||
build-and-test:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
|
||||
secrets: inherit
|
||||
|
||||
forge-functional-tests:
|
||||
needs: build-and-test
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout mod repo
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 8
|
||||
|
||||
- name: Set up Gradle
|
||||
uses: gradle/actions/setup-gradle@v5
|
||||
with:
|
||||
validate-wrappers: true
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Accept the Minecraft EULA
|
||||
run: |
|
||||
mkdir -p run/server
|
||||
echo "eula=true" > run/eula.txt
|
||||
echo "eula=true" > run/server/eula.txt
|
||||
|
||||
- name: Run Forge functional tests
|
||||
run: ./gradlew --build-cache --stacktrace runFunctionalTestServer
|
||||
|
||||
# The server runs out of process; without this a failure leaves only the counts.
|
||||
- name: Upload functional test reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: forge-functional-test-reports
|
||||
path: |
|
||||
run/server/junit-out/
|
||||
run/server/logs/
|
||||
run/server/crash-reports/
|
||||
if-no-files-found: warn
|
||||
retention-days: 14
|
||||
Reference in new issue
Block a user