-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1 KB
/
test.yml
File metadata and controls
39 lines (35 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: test.yml
on:
workflow_dispatch:
pull_request:
jobs:
GameTest:
strategy:
matrix:
GameTestConfig: [ default, testAE ]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.4'
- name: Test Server with ${{ matrix.GameTestConfig }}
run: gradle runGameTestServer -PGameTestConfig=${{ matrix.GameTestConfig }} -Dforge.enabledGameTestNamespaces=smartercontraptionstorage
- uses: actions/upload-artifact@v4
with:
name: Test Artifact of ${{ matrix.GameTestConfig }}
include-hidden-files: true
path: |
**/logs/
**/crash-reports/
retention-days: 7
if: always()