Skip to content

Action name changed #62

Action name changed

Action name changed #62

name: Running Tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Docker Build Image
run: |
cd ./Django/communicado
chmod +x mac_docker_build_and_run.sh
./mac_docker_build_and_run.sh
- name: Run Django migrations
run: |
cd ./Django/communicado
docker exec communicado_container python manage.py makemigrations
docker exec communicado_container python manage.py migrate || true
- name: Run Tests
run: |
cd ./Django/communicado
docker exec communicado_container python manage.py test