Skip to content

fix workflows#5

fix workflows#5 #107

name: Django App Test
on:
push:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Build and Test
run: |
docker-compose build
docker-compose up -d
sleep 10
docker-compose run django_online_store_web_1 bash -c "python manage.py test main.tests.URLTests.homepage"
docker-compose down