Skip to content
Snippets Groups Projects
Commit f2fc3be0 authored by philip.roeggla's avatar philip.roeggla
Browse files
parents 1e9cc07a 2467147d
No related branches found
No related tags found
No related merge requests found
image: 'tmaier/docker-compose:latest'
variables:
PYTHON_BASE_IMAGE: 'python:3.8.4-slim'
stages:
- test
- build
pytest:
image: $PYTHON_BASE_IMAGE
stage: test
script:
- 'python -m pip install --upgrade pip'
- 'python -m pip install -r requirements.txt'
- 'python -m pip install pytest'
- 'python -m pytest test'
extract_data:
image: $PYTHON_BASE_IMAGE
stage: build
script:
- 'python -m pip install --upgrade pip'
- 'python -m pip install -r requirements.txt'
- 'python -m pip install ipython'
- 'ipython travelogues_extraction/script/script.py'
artifacts:
paths:
- 'travelogues_extraction/script/output/'
...@@ -71,3 +71,4 @@ webencodings==0.5.1 ...@@ -71,3 +71,4 @@ webencodings==0.5.1
widgetsnbextension==3.5.1 widgetsnbextension==3.5.1
xlrd==1.2.0 xlrd==1.2.0
zipp==3.1.0 zipp==3.1.0
openpyxl==3.0.4
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment