Gitlab Community Edition Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
Jan Maximilian Michal
grady
Commits
70d17d7e
There was a problem fetching the pipeline summary.
Unverified
Commit
70d17d7e
authored
7 years ago
by
Jan Maximilian Michal
Browse files
Options
Downloads
Patches
Plain Diff
Minor tweak to .gitlab-ci.yml to improve coverage output
parent
a8ef4892
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!16
Backend tests
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-11
18 additions, 11 deletions
.gitlab-ci.yml
with
18 additions
and
11 deletions
.gitlab-ci.yml
+
18
−
11
View file @
70d17d7e
stages
:
-
build
-
test
-
pages
-
staging
variables
:
...
...
@@ -23,23 +24,15 @@ build_backend:
before_script
:
-
cd backend/
test_
coverage
:
test_
pytest
:
<<
:
*test_definition_backend
services
:
-
postgres:9.5
script
:
-
coverage run manage.py test --noinput
-
coverage html
-
DJANGO_SETTINGS_MODULE=grady.settings pytest --cov
artifacts
:
paths
:
-
public/
test_pytest
:
<<
:
*test_definition_backend
services
:
-
postgres:9.5
script
:
-
DJANGO_SETTINGS_MODULE=grady.settings pytest
-
.coverage
test_prospector
:
<<
:
*test_definition_backend
...
...
@@ -59,6 +52,20 @@ test_frontend:
-
yarn install
-
yarn test --single-run
# ============================ Gitlab pages section =========================== #
test_coverage
:
<<
:
*test_definition_backend
stage
:
pages
script
:
-
mkdir public
-
coverage html
dependencies
:
-
test_pytest
artifacts
:
paths
:
-
public
# ============================== Staging section ============================= #
.staging_template
:
&staging_definition
stage
:
staging
...
...
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