Skip to content

Commit 201a70c

Browse files
authored
Data directories moved to a separate repo
* Action update for removed data. * Action update for removed data.
1 parent 5978bda commit 201a70c

File tree

8 files changed

+26
-926
lines changed

8 files changed

+26
-926
lines changed

.github/workflows/checks.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,24 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install -r dev/requirements.txt
2424
25-
- name: Install missing stub packages
26-
run: mypy --install-types --non-interactive
25+
- name: Install zip utility
26+
run: sudo apt-get update && sudo apt-get install -y zip
27+
28+
- name: Clone maps4fsdata and prepare data
29+
run: |
30+
git clone --depth 1 https://github.com/iwatkot/maps4fsdata.git /tmp/maps4fsdata
31+
cd /tmp/maps4fsdata
32+
chmod +x prepare_data.sh
33+
./prepare_data.sh
34+
cp -r data $GITHUB_WORKSPACE/data
35+
rm -rf /tmp/maps4fsdata
2736
2837
- name: Run mypy to generate cache
2938
run: mypy maps4fs || true
3039

40+
- name: Install missing stub packages
41+
run: mypy --install-types --non-interactive
42+
3143
- name: Run mypy
3244
run: mypy maps4fs
3345

.github/workflows/checks_pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install -r dev/requirements.txt
2424
25+
- name: Install zip utility
26+
run: sudo apt-get update && sudo apt-get install -y zip
27+
28+
- name: Clone maps4fsdata and prepare data
29+
run: |
30+
git clone --depth 1 https://github.com/iwatkot/maps4fsdata.git /tmp/maps4fsdata
31+
cd /tmp/maps4fsdata
32+
chmod +x prepare_data.sh
33+
./prepare_data.sh
34+
cp -r data $GITHUB_WORKSPACE/data
35+
rm -rf /tmp/maps4fsdata
36+
2537
- name: Run mypy to generate cache
2638
run: mypy maps4fs || true
2739

data/fs22-map-template.zip

-1.61 MB
Binary file not shown.

data/fs22-texture-schema.json

Lines changed: 0 additions & 99 deletions
This file was deleted.

data/fs25-grle-schema.json

Lines changed: 0 additions & 149 deletions
This file was deleted.

data/fs25-map-template.zip

-2.11 MB
Binary file not shown.

0 commit comments

Comments
 (0)