add new process for check

This commit is contained in:
Cayo Puigdefabregas 2022-05-24 16:52:19 +02:00
parent af470c0ecd
commit 7ce18e1482
1 changed files with 5 additions and 2 deletions

View File

@ -49,8 +49,6 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 pytest coverage pip install flake8 pytest coverage
pip install -r requirements.txt pip install -r requirements.txt
alembic -x inventory=dbtest upgrade head
dh dummy --yes
mkdir bin mkdir bin
wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz
tar xf geckodriver-v0.30.0-linux64.tar.gz -C bin/ tar xf geckodriver-v0.30.0-linux64.tar.gz -C bin/
@ -67,6 +65,11 @@ jobs:
psql -h "localhost" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "CREATE EXTENSION citext SCHEMA public;" psql -h "localhost" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "CREATE EXTENSION citext SCHEMA public;"
psql -h "localhost" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "CREATE EXTENSION pg_trgm SCHEMA public;" psql -h "localhost" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "CREATE EXTENSION pg_trgm SCHEMA public;"
- name: Adding minimum datas
run: |
alembic -x inventory=dbtest upgrade head
dh dummy --yes
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
# stop the build if: # stop the build if: