Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bigWig_visu
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
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
ReGArDS
Projects_Analyzes
bigWig_visu
Commits
79d12cbb
Commit
79d12cbb
authored
4 years ago
by
nfontrod
Browse files
Options
Downloads
Patches
Plain Diff
modification for sonar to handle coverage
parent
38b3a1ac
No related branches found
No related tags found
No related merge requests found
Pipeline
#126
failed
4 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
sonar-project.properties
+1
-0
1 addition, 0 deletions
sonar-project.properties
with
5 additions
and
1 deletion
.gitignore
+
2
−
0
View file @
79d12cbb
...
...
@@ -6,3 +6,5 @@ src/__pycache__/
.coverage
src/gc_content/__pycache__/
tests/files/test_genome.fa.fai
coverage.xml
.scannerwork/
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
1
View file @
79d12cbb
...
...
@@ -18,6 +18,7 @@ tests:
-
pip install biopython==1.75
script
:
-
coverage run -m unittest discover
-
coverage report xml
sonarqube-check
:
image
:
...
...
@@ -25,7 +26,7 @@ sonarqube-check:
entrypoint
:
[
"
"
]
variables
:
SONAR_TOKEN
:
ae2c1731888a2155e90ea0a1dcec551c8d4336bd
SONAR_HOST_URL
:
http://192.168.1.58:9000/
SONAR_HOST_URL
:
http://192.168.1.58:9000/
# You have to not use localhost otherwise it will not work
SONAR_USER_HOME
:
"
${CI_PROJECT_DIR}/.sonar"
# Defines the location of the analysis task cache
GIT_DEPTH
:
"
0"
# Tells git to fetch all the branches of the project, required by the analysis task
cache
:
...
...
This diff is collapsed.
Click to expand it.
sonar-project.properties
+
1
−
0
View file @
79d12cbb
...
...
@@ -10,6 +10,7 @@ sonar.sources=.
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding
=
UTF-8
#Description of the project
sonar.python.coverage.reportPaths
=
./coverage.xml
sonar.projectDescription
=
A tools to visualise bigwig coverage.
#----- Default SonarQube server
#
sonar.host.url
=
http://localhost:9000
\ No newline at end of file
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