Skip to content

update url link in nav & update guide & improve test #84

update url link in nav & update guide & improve test

update url link in nav & update guide & improve test #84

name: Django App Test
on:
push:
branches:
- main
jobs:
build-and-test:
if: "!contains(github.event.commit.message, '(run test)')"
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Build and Test
working-directory: ./code
run: |
docker-compose build
docker-compose up -d
sleep 10
docker-compose run app bash -c "python manage.py test main.tests.URLTests.homepage"
docker-compose down