Skip to content
Snippets Groups Projects
Verified Commit b2860afb authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

add initial .gitlab-ci.yml

parent e24b28e8
No related branches found
No related tags found
1 merge request!37Add CI pipeline
Pipeline #83148 failed
---
stages:
- tox
#################################### tox - Testing and linting
run-tox-pipeline:
stage: tox
tags:
- docker-executor
image: python:3.10
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/topics/caching/
#
# If you want to also cache the installed packages, you have to install
# them in a virtualenv and cache it as well.
cache:
paths:
- .cache/pip
before_script:
- pip install venv
- python -m venv venv
- . venv/bin/activate
script:
- pip install tox
- tox
artifacts:
paths:
- htmlcov
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