387 deploy whisper #340
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build system images (non-pulling) | |
run: | | |
# build base image | |
docker build -f Dockerfile_base -t osll/wst_base . | |
- name: Build docker-compose | |
run: | | |
docker-compose build | |
- name: Run docker-compose | |
run: | |
APP_CONF=../app_conf/testing.ini docker-compose up -d | |
- name: Run tests | |
run: | | |
docker ps -a | |
docker-compose logs | |
docker exec web_speech_trainer_web_1 bash -c 'cd /app/tests && pytest .' |