This repository has been archived on 2023-04-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
defend-together/.github/workflows/test_server.yml

28 lines
565 B
YAML

name: Run Server Tests
on:
push:
paths:
- 'server/**'
- '.github/workflows/test_server.yml'
pull_request:
paths:
- 'server/**'
- '.github/workflows/test_server.yml'
jobs:
Testing:
runs-on: ubuntu-latest
container:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build Container
working-directory: server
run: |
docker build -t local .
- name: Run Testing Script
working-directory: server
run: |
docker run local /bin/bash -c "cd /dt; /dt/run_tests.sh"