Skip to content

Updated demo

Updated demo #98

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'feature/**'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose -y
- name: Build and Run Services
run: |
docker-compose up -d --build
docker-compose exec -T flask-app pytest ling508/tests --verbose
- name: Tear down Docker Compose
if: always()
run: docker-compose down --volumes