Skip to content

Commit 50cd0b5

Browse files
committed
Add a workflow to test if there are ES errors
1 parent 9b303b2 commit 50cd0b5

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/workflows/error-finder.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Error Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize]
9+
10+
jobs:
11+
test-parse:
12+
name: Data Files
13+
runs-on: windows-2022
14+
env:
15+
CONTINUOUS: EndlessSky-win64-continuous.zip
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
steps:
18+
- name: Download latest continuous
19+
run: gh release download -R endless-sky/endless-sky continuous -p ${{ env.CONTINUOUS }}
20+
- name: Extract and prepare continuous
21+
run: |
22+
Expand-Archive ${{ env.CONTINUOUS }} -DestinationPath endless-sky -Force
23+
cd .\endless-sky
24+
mkdir plugins
25+
cd .\plugins
26+
mkdir Jibauni
27+
- uses: actions/checkout@v4
28+
with:
29+
path: '.\endless-sky\plugins\Jibauni'
30+
- name: Parse Datafiles
31+
run: "'.\\endless-sky\\Endless Sky.exe' -p"
32+
shell: bash

data/wontwork.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
mission "Test"
2+
name ""
3+
landing
4+
description ""
5+
sourre Baitoon
6+
destination Hill
7+
on offer
8+
conversation
9+
``
10+
accept
11+
on complete
12+
dialog ``

0 commit comments

Comments
 (0)