Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rocolib
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
roco
rocolib
Commits
92b621e1
Commit
92b621e1
authored
4 years ago
by
mehtank
Browse files
Options
Downloads
Patches
Plain Diff
Run pytest on commit
parent
5b56e01c
No related merge requests found
Pipeline
#37
failed with stage
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+28
-1
28 additions, 1 deletion
.gitlab-ci.yml
with
28 additions
and
1 deletion
.gitlab-ci.yml
+
28
−
1
View file @
92b621e1
stages
:
-
test
-
deploy
cache
:
paths
:
-
~/.cache/pip/
.test
:
&test_template
stage
:
test
before_script
:
-
pip3 install .
script
:
-
python3 -m pytest
test:PY3.7
:
<<
:
*test_template
image
:
python:3.7
test:PY3.8
:
<<
:
*test_template
image
:
python:3.8
test:PY3.9
:
<<
:
*test_template
image
:
python:3.9
build-package
:
stage
:
deploy
image
:
python:3
image
:
python:3
.7
script
:
-
cat $PYPIRC > /tmp/.pypirc
-
pip3 install twine
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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