Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Merge requests
!37
Add CI pipeline
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add CI pipeline
feature/add-ci-pipeline
into
develop
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Karel van Klink
requested to merge
feature/add-ci-pipeline
into
develop
1 year ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
Add a CI pipeline that runs tox, which performs unit testing and code linting
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
34b01c87
2 commits,
1 year ago
1 file
+
37
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
37
−
0
Options
---
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 virtualenv
-
virtualenv venv
-
. venv/bin/activate
script
:
-
pip install tox
-
tox
artifacts
:
paths
:
-
htmlcov
Loading