Skip to content

Commit

Permalink
Add a workflow to test if there are ES errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiraffe3 committed Oct 16, 2024
1 parent 9b303b2 commit 50cd0b5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/error-finder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Error Check

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]

jobs:
test-parse:
name: Data Files
runs-on: windows-2022
env:
CONTINUOUS: EndlessSky-win64-continuous.zip
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Download latest continuous
run: gh release download -R endless-sky/endless-sky continuous -p ${{ env.CONTINUOUS }}
- name: Extract and prepare continuous
run: |
Expand-Archive ${{ env.CONTINUOUS }} -DestinationPath endless-sky -Force
cd .\endless-sky
mkdir plugins
cd .\plugins
mkdir Jibauni
- uses: actions/checkout@v4
with:
path: '.\endless-sky\plugins\Jibauni'
- name: Parse Datafiles
run: "'.\\endless-sky\\Endless Sky.exe' -p"
shell: bash
12 changes: 12 additions & 0 deletions data/wontwork.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mission "Test"
name ""
landing
description ""
sourre Baitoon
destination Hill
on offer
conversation
``
accept
on complete
dialog ``

0 comments on commit 50cd0b5

Please sign in to comment.