Merge branch 'testing' into feature/15-update-test-suite

This commit is contained in:
nad 2020-07-21 15:02:29 +02:00
commit a90b4c9b9d
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,11 @@
name: Django CI name: Flask CI
on: on:
push: push:
branches: [master, testing] branches: [master, testing]
pull_request: pull_request:
branches: [master, testing] branches: [master, testing]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -46,6 +46,9 @@ jobs:
sudo apt-get update -qy sudo apt-get update -qy
sudo apt-get -y install postgresql-client sudo apt-get -y install postgresql-client
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install virtualenv
virtualenv env
source env/bin/activate
pip install flake8 pytest pip install flake8 pytest
pip install -r requirements.txt pip install -r requirements.txt
@ -63,5 +66,6 @@ jobs:
- name: Run Tests - name: Run Tests
run: | run: |
source env/bin/activate
pytest -m mvp --maxfail=5 tests/ pytest -m mvp --maxfail=5 tests/