Skip to content
Snippets Groups Projects
Commit 8adaeadc authored by Alán Muñoz's avatar Alán Muñoz
Browse files

try simpler gitlab-ci

parent 471ec06f
No related branches found
No related tags found
No related merge requests found
image: python:3.7 image: python:3.7
stages:
- test
- lint
- types
- deploy
before_script: before_script:
- pip install poetry - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- poetry config virtualenvs.create false - export PATH="$PATH:$HOME/.poetry/bin/"
- source $HOME/.poetry/env
- poetry install - poetry install
- source `poetry env info --path`/bin/activate
Unit Tests: build:
stage: test stage: build
script:
- poetry run pytest
Python Code Lint:
stage: lint
script: script:
- poetry run black . - echo 123
Static Type check: test:
stage: types stage: test
script:
- poetry run mypy .
Deploy:
stage: deploy
script: script:
- echo "Insert deployment script here" - echo 123
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