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

27 lines
549 B
YAML
Raw Normal View History

2020-05-01 01:16:46 +02:00
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
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"