added a testing workflow
This commit is contained in:
parent
b6fddb72b2
commit
302ed8aea4
1 changed files with 29 additions and 0 deletions
29
.gitea/workflows/test.yaml
Normal file
29
.gitea/workflows/test.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Test
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
Prism Launcher:
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/galacticfactory/documentation:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Copy export files
|
||||
run: |
|
||||
mkdir -vp /test/.minecraft
|
||||
cp -vrT ./build/prism /test/
|
||||
cp -v ./unsup.ini /test/.minecraft/
|
||||
|
||||
- name: ZIP export files
|
||||
run: |
|
||||
cd /test
|
||||
zip -r GalacticFactory.zip ./
|
||||
|
||||
- name: Check Prism Launcher version
|
||||
run: primslauncher --version --alive
|
||||
|
||||
- name: Import instance
|
||||
run: prismlauncher --import /test/GalacticFactory.zip
|
Reference in a new issue