Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
pranjal_dhole
Flatland
Commits
6bfa6abd
Commit
6bfa6abd
authored
4 years ago
by
jyotish
Committed by
MasterScrat
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Optimize CI/CD pipeline for faster testing
parent
deeb642c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+42
-9
42 additions, 9 deletions
.gitlab-ci.yml
requirements_continuous_integration.txt
+2
-2
2 additions, 2 deletions
requirements_continuous_integration.txt
with
44 additions
and
11 deletions
.gitlab-ci.yml
+
42
−
9
View file @
6bfa6abd
...
...
@@ -15,14 +15,11 @@ stages:
-
profiling
-
benchmarks
-
deploy_docs
cache
:
paths
:
-
.tox
before_script
:
-
echo "Setting Up...."
test
s
:
.
test
-setup
:
&test-setup
stage
:
tests
services
:
-
redis
...
...
@@ -34,9 +31,37 @@ tests:
-
export PATH=/tmp/miniconda3/bin:$PATH
-
pip install tox awscli
-
conda update -n root conda -y
-
conda install -c conda-forge tox-conda
-
conda install -c conda-forge tox-conda -y
test-py36
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate -e py36
test-py37
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate -e py37
test-examples
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate -e examples
test-notebooks
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate -e notebooks
test-docs
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate -e docs
test-coverage
:
<<
:
*test-setup
script
:
-
xvfb-run tox -v --recreate
-
xvfb-run tox -v --recreate
-e coverage
build_and_deploy_docs
:
image
:
"
python:latest"
...
...
@@ -44,7 +69,7 @@ build_and_deploy_docs:
only
:
-
master
dependencies
:
-
tests
-
test
-doc
s
before_script
:
-
apt update
-
apt install -y libgl1-mesa-glx xvfb xdg-utils libcairo2-dev libjpeg-dev libgif-dev graphviz libgraphviz-dev python-pyglet
...
...
@@ -66,7 +91,11 @@ build_and_deploy_docs:
profiling
:
dependencies
:
-
tests
-
test-py36
-
test-py37
-
test-examples
-
test-notebooks
-
test-coverage
stage
:
profiling
only
:
variables
:
...
...
@@ -85,7 +114,11 @@ profiling:
benchmarks
:
dependencies
:
-
tests
-
test-py36
-
test-py37
-
test-examples
-
test-notebooks
-
test-coverage
stage
:
benchmarks
only
:
variables
:
...
...
This diff is collapsed.
Click to expand it.
requirements_continuous_integration.txt
+
2
−
2
View file @
6bfa6abd
...
...
@@ -17,7 +17,7 @@ jupyter>=1.0.0
jupyter-core>=4.5.0
jupyter-contrib-nbextensions
notebook>=5.7.8
PyVirtualDisplay==
0.2.5
pytest-xvfb
>=1.
2.0
PyVirtualDisplay==
1.3.2
pytest-xvfb
==
2.0
.0
git+https://github.com/who8mylunch/Jupyter_Canvas_Widget.git@bd151ae1509c50b5809944dd3294f58b7b069c86
m2r>=0.2.1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment