Skip to content
Snippets Groups Projects
Commit bcbc0666 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

faster pipeline

parent 38f2ad22
No related branches found
No related tags found
No related merge requests found
Pipeline #3172 passed
...@@ -13,20 +13,21 @@ cache: ...@@ -13,20 +13,21 @@ cache:
- venv/ - venv/
before_script: before_script:
- python -V - python -V
- python3 -m venv venv
- source venv/bin/activate
- pip install -r requirements/production.txt - pip install -r requirements/production.txt
stages: stages:
- Build - Build
- Test
flake8: Flake8:
stage: Build stage: Build
script: script:
- flake8 --max-line-length=125 --exclude=src/kszkepzes,migrations - flake8 --max-line-length=125 --exclude=src/kszkepzes,migrations,venv
test: Test:
stage: Test stage: Build
variables: variables:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB" DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
SECRET_KEY: "secret" SECRET_KEY: "secret"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment