Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
tddd96-grupp1
teknikattan-scoring-system
Commits
9f66da68
Commit
9f66da68
authored
4 years ago
by
Albin Henriksson
Browse files
Options
Downloads
Patches
Plain Diff
#7
: Separated server test and report pipline tasks
parent
65bf9bb4
No related branches found
No related tags found
1 merge request
!12
Issue/7 add test coverage report
Pipeline
#34220
passed
4 years ago
Stage: setup
Stage: test
Stage: report
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/server.gitlab-ci.yml
+17
-0
17 additions, 0 deletions
.gitlab/server.gitlab-ci.yml
with
17 additions
and
0 deletions
.gitlab/server.gitlab-ci.yml
+
17
−
0
View file @
9f66da68
...
...
@@ -39,6 +39,23 @@ server:test:
-
source env/bin/activate
-
pytest --cov app tests/
-
coverage xml
artifacts
:
paths
:
-
server/coverage.xml
expire_in
:
5 min
server:report
:
image
:
python
stage
:
report
needs
:
[
"
server:test"
]
only
:
refs
:
-
dev
-
merge_requests
changes
:
-
server/**/*
script
:
-
cd server
-
python coverage_report.py
artifacts
:
reports
:
...
...
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