Skip to content

Commit

Permalink
[NON-MODULAR] [Unit Tests] Mapload Space Verification and Mapping (Bl…
Browse files Browse the repository at this point in the history
…ueMoon-Labs#1475)

* unit test, non-modular

* exclude area

* additional fix

* revert additional check

* Update lavaland_surface_russianbunker.dmm

* area fixing

* more fixes

* smol fixes

* peace syndie fix

* prison fixes

* trying to fix smileyshitmap

* more fixes to layenia

* Попытки починить Призон Статион успехом не увенчались.

* move_prison_station_to_module

* +

* +

* +

* +

---------

Co-authored-by: Марк <[email protected]>
  • Loading branch information
Phoenix4O4 and SmiLeYre authored Dec 23, 2024
1 parent 6c1748e commit 141ec82
Show file tree
Hide file tree
Showing 106 changed files with 12,365 additions and 12,452 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,30 @@ jobs:
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS
find_all_maps:
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
name: Find Maps to Test
runs-on: ubuntu-20.04
outputs:
maps: ${{ steps.map_finder.outputs.maps }}
steps:
- uses: actions/checkout@v2
- name: Find Maps
id: map_finder
run: |
echo "$(ls -mw0 _maps/*.json)" > maps_output.txt
sed -i -e s+_maps/+\"+g -e s+.json+\"+g maps_output.txt
echo "Maps: $(cat maps_output.txt)"
echo "::set-output name=maps::{\"paths\":[$(cat maps_output.txt)]}"
run_all_tests:
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
name: Integration Tests
runs-on: ubuntu-22.04
needs: [find_all_maps]
strategy:
fail-fast: false
matrix:
map: ${{ fromJSON(needs.find_all_maps.outputs.maps).paths }}
services:
mysql:
image: mysql:latest
Expand All @@ -79,6 +99,9 @@ jobs:
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
concurrency:
group: ci-${{ github.ref }}-${{ matrix.map }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- name: Restore BYOND cache
Expand Down Expand Up @@ -114,7 +137,7 @@ jobs:
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
tools/build/build --ci -DCIBUILDING
bash tools/ci/run_server.sh
bash tools/ci/run_server.sh ${{ matrix.map }}
test_windows:
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
name: Windows Build
Expand Down
32 changes: 16 additions & 16 deletions _maps/RandomRuins/IceRuins/icemoon_surface_mining_site.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/area/icemoon/surface/outdoors)
"b" = (
/turf/closed/wall/mineral/wood/nonmetal,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"c" = (
/obj/structure/closet/toolcloset,
/obj/item/wrench,
Expand All @@ -14,7 +14,7 @@
/obj/item/wirecutters,
/obj/item/radio/off,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"d" = (
/turf/open/openspace/icemoon,
/area/icemoon/surface/outdoors)
Expand All @@ -28,14 +28,14 @@
/obj/structure/closet,
/obj/item/clothing/shoes/winterboots/ice_boots,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"f" = (
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"g" = (
/obj/structure/fireplace,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"h" = (
/obj/structure/flora/rock/icy,
/turf/closed/mineral/random/snow,
Expand All @@ -46,34 +46,34 @@
"j" = (
/obj/structure/sink/kitchen,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"k" = (
/obj/structure/closet/crate/freezer,
/obj/item/tcg_card/special/demonic_miner,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"l" = (
/obj/machinery/vending/dinnerware,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"m" = (
/obj/structure/barricade/wooden/crude/snow,
/obj/structure/mineral_door/wood,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"n" = (
/turf/closed/mineral/random/snow,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"o" = (
/obj/item/reagent_containers/food/drinks/beer,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"p" = (
/obj/machinery/light/broken{
dir = 4
},
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"q" = (
/obj/structure/table/wood,
/obj/item/pen,
Expand All @@ -85,22 +85,22 @@
text = ""
},
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"r" = (
/obj/item/chair/wood,
/obj/effect/decal/cleanable/blood/splatter,
/obj/effect/mob_spawn/human/miner/explorer,
/obj/effect/decal/cleanable/blood/drip,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"s" = (
/obj/effect/decal/cleanable/trail_holder,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)
"u" = (
/obj/structure/ladder,
/turf/open/floor/wood,
/area/ruin/unpowered)
/area/ruin/space/has_grav)

(1,1,1) = {"
i
Expand Down
Loading

0 comments on commit 141ec82

Please sign in to comment.