Move map tests out of map matrix stuff

This commit is contained in:
ShadowLarkens
2024-09-23 19:12:50 -07:00
parent d32600b0bf
commit b45815bd3d
2 changed files with 24 additions and 9 deletions
+21 -9
View File
@@ -67,7 +67,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Cache SpacemanDMM
- name: Restore SpacemanDMM Cache
uses: actions/cache@v4
with:
path: ~/SpacemanDMM
@@ -102,7 +102,7 @@ jobs:
- name: Ensure +x on CI directory
run: |
chmod -R +x ./tools/ci
- name: Setup Cache
- name: Restore BYOND Cache
uses: actions/cache@v4
with:
path: $HOME/BYOND
@@ -120,24 +120,36 @@ jobs:
env:
EXTRA_ARGS: "-DUNIT_TEST -D${{ matrix.map }}"
RUN: "1"
- name: Compile POIs
extra_map_tests:
name: Map Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Ensure +x on CI directory
run: |
tools/ci/install_byond.sh
tools/ci/compile_and_run.sh
chmod -R +x ./tools/ci
- name: Restore BYOND Cache
uses: actions/cache@v4
with:
path: $HOME/BYOND
key: ${{ runner.os }}-byond
- name: Install BYOND
run: tools/ci/install_byond.sh
- name: Compile POIs
run: tools/ci/compile_and_run.sh
env:
EXTRA_ARGS: "-DMAP_TEST"
RUN: "0"
- name: Compile away missions
run: |
tools/ci/install_byond.sh
tools/ci/compile_and_run.sh
run: tools/ci/compile_and_run.sh
env:
EXTRA_ARGS: "-DAWAY_MISSION_TEST -DUSE_MAP_TETHER" # Only Tether has support for all away missions
RUN: "0"
tests_successful:
name: Integration Tests
needs: ['run_linters', 'dreamchecker', 'unit_tests']
needs: ['run_linters', 'dreamchecker', 'unit_tests', 'extra_map_tests']
runs-on: ubuntu-20.04
steps:
- name: Report Success