Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IDEA
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Warden
IDEA
Merge requests
!6
Run tests in multiple Python versions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Run tests in multiple Python versions
hruska-feature-multiple-pythons
into
devel
Overview
0
Commits
3
Pipelines
4
Changes
3
Merged
Rajmund Hruška
requested to merge
hruska-feature-multiple-pythons
into
devel
3 years ago
Overview
0
Commits
3
Pipelines
4
Changes
3
0
0
Merge request reports
Compare
devel
version 2
239d0758
3 years ago
version 1
d31c104b
3 years ago
devel (base)
and
latest version
latest version
984f132d
3 commits,
3 years ago
version 2
239d0758
2 commits,
3 years ago
version 1
d31c104b
1 commit,
3 years ago
3 files
+
73
−
17
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
.gitlab-ci.yml
+
58
−
2
View file @ 984f132d
Edit in single-file editor
Open in Web IDE
Show full file
# Official language image. Look for the different tagged releases at:
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
# https://hub.docker.com/r/library/python/tags/
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:
3.6
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:
latest
# Change pip's cache directory to be inside the project directory since we can
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
# only cache local items.
@@ -15,7 +15,6 @@ variables:
@@ -15,7 +15,6 @@ variables:
cache
:
cache
:
paths
:
paths
:
-
.cache/pip
-
.cache/pip
-
venv/
before_script
:
before_script
:
-
pip install virtualenv
-
pip install virtualenv
@@ -41,6 +40,63 @@ unit-test-job:
@@ -41,6 +40,63 @@ unit-test-job:
reports
:
reports
:
junit
:
nose2-junit.xml
junit
:
nose2-junit.xml
unit-test-2.7-job
:
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:2.7
stage
:
test
script
:
-
make test
unit-test-3.7-job
:
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.7
stage
:
test
script
:
-
make test 2>&1 | tee errors-3.7.log
artifacts
:
when
:
always
paths
:
-
errors-3.7.log
unit-test-3.8-job
:
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.8
stage
:
test
script
:
-
make test 2>&1 | tee errors-3.8.log
artifacts
:
when
:
always
paths
:
-
errors-3.8.log
unit-test-3.9-job
:
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.9
stage
:
test
script
:
-
make test 2>&1 | tee errors-3.9.log
artifacts
:
when
:
always
paths
:
-
errors-3.9.log
check-deprecation-warnings-3.7
:
before_script
:
[]
stage
:
check-warnings
script
:
-
"
if
[[
$(grep
DeprecationWarning
errors-3.7.log)
]];
then
cat
errors-3.7.log;
exit
1;
fi"
allow_failure
:
true
check-deprecation-warnings-3.8
:
before_script
:
[]
stage
:
check-warnings
script
:
-
"
if
[[
$(grep
DeprecationWarning
errors-3.8.log)
]];
then
cat
errors-3.8.log;
exit
1;
fi"
allow_failure
:
true
check-deprecation-warnings-3.9
:
before_script
:
[]
stage
:
check-warnings
script
:
-
"
if
[[
$(grep
DeprecationWarning
errors-3.9.log)
]];
then
cat
errors-3.9.log;
exit
1;
fi"
allow_failure
:
true
pylint-test-job
:
pylint-test-job
:
stage
:
test
stage
:
test
script
:
script
:
Loading