test change #3
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: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Builds the Docker image | |
run: docker build ./ -t velodrome/api | |
- name: Runs code QA and tests | |
run: docker run --rm --env-file=${{ github.workspace }}/env.example -v ${{ github.workspace }}:/app -w /app -t velodrome/api sh -c 'pip install coverage flake8 && flake8 && coverage run --source=app setup.py test && coverage report' |