diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c9dff0..056cf2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,13 +23,16 @@ jobs: - name: checkout vereya uses: actions/checkout@v3 with: - repository: trueagi-io/Vereya + repository: noSkill/Vereya path: Vereya + ref: 'master' clean: false - name: install vereya - run: rm /home/tester/.minecraft/mods/* ; ls && cd $GITHUB_WORKSPACE/Vereya/ && ./gradlew build && cp $GITHUB_WORKSPACE/Vereya/build/libs/* /home/tester/.minecraft/mods/ + run: rm /home/tester/.minecraft/mods/* ; ls && cd $GITHUB_WORKSPACE/Vereya/ && ./gradlew build && cp $GITHUB_WORKSPACE/Vereya/build/libs/* /home/tester/.minecraft/mods/ && + cp $GITHUB_WORKSPACE/Vereya/build/libs/* $GITHUB_WORKSPACE/Vereya/server/mods/ - name: install fabric - run: rsync -v $GITHUB_WORKSPACE/Vereya/fabric/* /home/tester/.minecraft/mods/ + run: rsync -v $GITHUB_WORKSPACE/Vereya/fabric/* /home/tester/.minecraft/mods/ && + cp $GITHUB_WORKSPACE/Vereya/fabric/* $GITHUB_WORKSPACE/Vereya/server/mods/ - name: checkout tagilmo uses: actions/checkout@v3 with: @@ -42,6 +45,10 @@ jobs: env: DISPLAY: :99 GITHUB_WORKSPACE: $GITHUB_WORKSPACE + - name: start minecraft server + run: cd Vereya/server && ./launch.sh & + env: + GITHUB_WORKSPACE: $GITHUB_WORKSPACE - name: run test run: | ps a|grep [j]ava &&