Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into aneri-part-3-hamazura-edition
  • Loading branch information
Absolucy committed Feb 3, 2025
2 parents e924fcb + 354cac7 commit 97907ae
Show file tree
Hide file tree
Showing 99 changed files with 1,157 additions and 434 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,31 +189,20 @@ jobs:
name: Integration Tests
needs: collect_data

strategy:
fail-fast: false
matrix:
map: ${{ fromJSON(needs.collect_data.outputs.maps).paths }}

uses: ./.github/workflows/run_integration_tests.yml
uses: ./.github/workflows/perform_regular_version_tests.yml
with:
map: ${{ matrix.map }}
maps: ${{ needs.collect_data.outputs.maps }}
max_required_byond_client: ${{needs.collect_data.outputs.max_required_byond_client}}

run_alternate_tests:
if: needs.collect_data.outputs.alternate_tests != '[]'
name: Alternate Tests
needs: collect_data
strategy:
fail-fast: false
matrix:
setup: ${{ fromJSON(needs.collect_data.outputs.alternate_tests) }}

uses: ./.github/workflows/run_integration_tests.yml
uses: ./.github/workflows/perform_alternate_version_tests.yml
with:
map: ${{ matrix.setup.map }}
major: ${{ matrix.setup.major }}
minor: ${{ matrix.setup.minor }}
max_required_byond_client: ${{ matrix.setup.max_client_version || needs.collect_data.outputs.max_required_byond_client }}
alternate_tests: ${{ needs.collect_data.outputs.alternate_tests }}
default_max_required_byond_client: ${{ needs.collect_data.outputs.max_required_byond_client }}

compare_screenshots:
if: needs.collect_data.outputs.alternate_tests == '[]' || needs.run_alternate_tests.result == 'success'
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/perform_alternate_version_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Alternate BYOND Version Tests
on:
workflow_call:
inputs:
alternate_tests:
required: true
type: string
default_max_required_byond_client:
required: true
type: string

jobs:
run:
uses: ./.github/workflows/run_integration_tests.yml

strategy:
fail-fast: false
matrix:
setup: ${{ fromJSON(inputs.alternate_tests) }}

with:
map: ${{ matrix.setup.map }}
major: ${{ matrix.setup.major }}
minor: ${{ matrix.setup.minor }}
max_required_byond_client: ${{ matrix.setup.max_client_version || inputs.default_max_required_byond_client }}
23 changes: 23 additions & 0 deletions .github/workflows/perform_regular_version_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Regular BYOND Version Tests
on:
workflow_call:
inputs:
maps:
required: true
type: string
max_required_byond_client:
required: true
type: string

jobs:
run:
uses: ./.github/workflows/run_integration_tests.yml

strategy:
fail-fast: false
matrix:
map: ${{ fromJSON(inputs.maps).paths }}

with:
map: ${{ matrix.map }}
max_required_byond_client: ${{ inputs.max_required_byond_client }}
6 changes: 6 additions & 0 deletions .github/workflows/run_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ on:

jobs:
run_integration_tests:
# If `inputs.major` is specified, this will output `Run Tests (major.minor; map; max)`.
# For example, `Run Tests (515.1627; runtimestation; 515)`.
#
# Otherwise, it will output `Run Tests (map; max)`.
# For example, `Run Tests (runtimestation; 515)`.
name: Run Tests (${{ inputs.major && format('{0}.{1}; ', inputs.major, inputs.minor) || '' }}${{ inputs.map }}; ${{ inputs.max_required_byond_client }})
runs-on: ubuntu-latest
timeout-minutes: 30 # Monkestation edit: Our CI takes nearly twice as long, so the timeout is twice as long
services:
Expand Down
10 changes: 6 additions & 4 deletions _maps/RandomRuins/SpaceRuins/deepstorage.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,7 @@
/obj/item/clothing/head/bio_hood/interdyne,
/obj/item/clothing/head/bio_hood/interdyne,
/obj/item/clothing/head/bio_hood/interdyne,
/obj/item/construction/plumbing/research,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"gu" = (
Expand Down Expand Up @@ -2637,7 +2638,6 @@
/obj/effect/turf_decal/stripes{
dir = 8
},
/obj/machinery/duct,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"kB" = (
Expand All @@ -2646,6 +2646,7 @@
},
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/machinery/light/directional/south,
/obj/machinery/duct,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"kE" = (
Expand Down Expand Up @@ -2795,6 +2796,7 @@
},
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/structure/cable,
/obj/machinery/duct,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"sy" = (
Expand Down Expand Up @@ -2852,7 +2854,6 @@
/obj/effect/turf_decal/stripes{
dir = 4
},
/obj/machinery/duct,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"vs" = (
Expand Down Expand Up @@ -2908,8 +2909,8 @@
/obj/item/stack/sheet/mineral/plasma/twenty,
/obj/item/stack/sheet/mineral/plasma/twenty,
/obj/item/stack/sheet/mineral/plasma/twenty,
/obj/item/disk/vacuum_upgrade,
/obj/item/disk/vacuum_upgrade,
/obj/item/disk/vacuum_upgrade/biomass,
/obj/item/disk/vacuum_upgrade/biomass,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"wI" = (
Expand Down Expand Up @@ -2988,6 +2989,7 @@
/area/ruin/space/has_grav/deepstorage/xenobiology)
"An" = (
/obj/structure/extinguisher_cabinet/directional/south,
/obj/machinery/duct,
/turf/open/floor/iron/white/textured,
/area/ruin/space/has_grav/deepstorage/xenobiology)
"Az" = (
Expand Down
Loading

0 comments on commit 97907ae

Please sign in to comment.