testing new pipeline
This commit is contained in:
@@ -1,8 +1,17 @@
|
|||||||
pytest:
|
image: python:latest
|
||||||
stage: test
|
variables:
|
||||||
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- .cache/pip
|
||||||
|
- venv
|
||||||
|
before_script:
|
||||||
|
- python --version
|
||||||
|
- pip install virtualenv
|
||||||
|
- virtualenv venv
|
||||||
|
- source venv/bin/activate
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
test:
|
||||||
script:
|
script:
|
||||||
- pytest --junitxml report.xml yoink/tests/test_basic.py
|
- pytest --junitxml report.xml yoink/tests/test_basic.py
|
||||||
artifacts:
|
|
||||||
when: always
|
|
||||||
reports:
|
|
||||||
junit: report.xml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user