Skip to content

Adds more reagents #1820

Adds more reagents

Adds more reagents #1820

Workflow file for this run

name: Run Tests
on:
push:
branches:
- dev
pull_request:
branches:
- dev
env:
BYOND_MAJOR: "513"
BYOND_MINOR: "1527"
SPACEMAN_DMM_VERSION: suite-1.5
jobs:
DreamChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
with:
path: $HOME/spaceman_dmm/$SPACEMAN_DMM_VERSION
key: ${{ runner.os }}-spacemandmm-${{ env.SPACEMAN_DMM_VERSION }}
- name: Install Dreamchecker
run: scripts/install-spaceman-dmm.sh dreamchecker
- name: Run Dreamchecker
run: ~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
- name: Annotate Lints
uses: yogstation13/DreamAnnotate@34029606cd7c22a08a589e084f860c1cc287363c
if: always()
with:
outputFile: output-annotations.txt
- name: Run Failure Webhook
env:
JOB_STATUS: ${{ job.status }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
HOOK_OS_NAME: ${{ runner.os }}
WORKFLOW_NAME: ${{ github.workflow }}
if: ${{ failure() }}
run: |
wget https://raw.githubusercontent.com/DiscordHooks/github-actions-discord-webhook/master/send.sh
chmod +x send.sh
./send.sh failure $WEBHOOK_URL
Code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
with:
path: $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
- name: Install Dependencies
run: sudo apt-get install -y uchardet
- name: Run Tests
env:
TEST: CODE
run: test/run-test.sh
- name: Run Failure Webhook
env:
JOB_STATUS: ${{ job.status }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
HOOK_OS_NAME: ${{ runner.os }}
WORKFLOW_NAME: ${{ github.workflow }}
if: ${{ failure() }}
run: |
wget https://raw.githubusercontent.com/DiscordHooks/github-actions-discord-webhook/master/send.sh
chmod +x send.sh
./send.sh failure $WEBHOOK_URL
Maps:
runs-on: ubuntu-latest
strategy:
matrix:
map_path: [example, torch, away_sites_testing]
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
with:
path: $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
- name: Run Tests
env:
TEST: MAP
MAP_PATH: ${{ matrix.map_path }}
run: test/run-test.sh
- name: Run Failure Webhook
env:
JOB_STATUS: ${{ job.status }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
HOOK_OS_NAME: ${{ runner.os }}
WORKFLOW_NAME: ${{ github.workflow }}
if: ${{ failure() }}
run: |
wget https://raw.githubusercontent.com/DiscordHooks/github-actions-discord-webhook/master/send.sh
chmod +x send.sh
./send.sh failure $WEBHOOK_URL