Joseph Manley
02e5c1424f
Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions Changes to GitHub Actions
27 lines
549 B
YAML
27 lines
549 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
|
|
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"
|