Skip to content

Add more tests and make it better #9

Add more tests and make it better

Add more tests and make it better #9

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Docker Compose
run: docker-compose -f docker-compose.test.yml build
- name: Run and Monitor Tests
run: |
docker-compose -f docker-compose.test.yml up -d
docker-compose -f docker-compose.test.yml logs -f app | (grep -m 1 "exited with code 0" && docker-compose -f docker-compose.test.yml down)