Skip to content

Merge branch 'main' of https://github.com/MithishR/Communicado #45

Merge branch 'main' of https://github.com/MithishR/Communicado

Merge branch 'main' of https://github.com/MithishR/Communicado #45

name: Running Tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Docker Image
run: |
cd ./Django/communicado
docker-compose -f docker-compose-test.yml build
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run tests
run: |
cd ./Django/communicado
docker-compose -f docker-compose-test.yml run web python manage.py test