Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
py-scaffold
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Piotr Maślanka
py-scaffold
Commits
70677b26
There was a problem fetching the pipeline stages.
Commit
70677b26
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
coverage fixed
parent
84ef8394
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#284
passed with stages
in 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
README.md
+3
-6
3 additions, 6 deletions
README.md
with
6 additions
and
8 deletions
.gitlab-ci.yml
+
3
−
2
View file @
70677b26
...
@@ -10,14 +10,15 @@ build:
...
@@ -10,14 +10,15 @@ build:
-
master
-
master
unit_tests
:
unit_tests
:
stage
:
test
stage
:
test
coverage
:
/^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/
script
:
script
:
-
python setup.py nosetests
-
nosetests --with-coverage
# vagrant_backed_tests
# vagrant_backed_tests
# stage: test
# stage: test
# script:
# script:
# - vagrant ssh -c 'sudo shutdown -P +10'
# - vagrant ssh -c 'sudo shutdown -P +10'
# - vagrant ssh -c 'cd /vagrant;
python setup.py nosetests
'
# - vagrant ssh -c 'cd /vagrant;
nosetests --with-coverage
'
# before_script:
# before_script:
# - vagrant up
# - vagrant up
# after_script:
# after_script:
...
...
This diff is collapsed.
Click to expand it.
README.md
+
3
−
6
View file @
70677b26
...
@@ -28,10 +28,7 @@ This is a generic scaffold for Python projects that use:
...
@@ -28,10 +28,7 @@ This is a generic scaffold for Python projects that use:
Vagrant environment
Vagrant environment
13.
Set up a repository on GitLab
13.
Set up a repository on GitLab
14.
Ensure you have _master_ permission on this repository
14.
Ensure you have _master_ permission on this repository
15.
Set
`^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$`
in
15.
`git init`
_Settings>CI/CD Pipelines>Test coverage parsing_ for GitLab to display
16.
Add suitable remotes, commit the data, push to repo
test coverage data
17.
Done!
16.
`git init`
17.
Add suitable remotes, commit the data, push to repo
18.
Done!
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