Skip to content

Merge pull request #94 from vbalalian/vbalalian-patch-1 #71

Merge pull request #94 from vbalalian/vbalalian-patch-1

Merge pull request #94 from vbalalian/vbalalian-patch-1 #71

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and run tests
run: |
docker-compose -f compose.test.yaml up --build -d
docker-compose -f compose.test.yaml run web_scraper pytest
docker-compose -f compose.test.yaml run api pytest
- name: Clean up
run: docker-compose -f compose.test.yaml down