Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6923687c
Commit
6923687c
authored
Jul 24, 2013
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #460 from edx/sarina/update-diffcover
Update diff-cover to latest version
parents
a569a5f6
4ee16f16
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletions
+19
-1
jenkins/test.sh
+3
-0
rakelib/quality.rake
+15
-0
rakelib/tests.rake
+0
-0
requirements/edx/github.txt
+1
-1
No files found.
jenkins/test.sh
View file @
6923687c
...
...
@@ -77,6 +77,9 @@ rake pylint > pylint.log || cat pylint.log
# Generate coverage reports
rake coverage
# Generate quality reports
rake quality
rake autodeploy_properties
github_status state:success
"passed"
rakelib/quality.rake
View file @
6923687c
...
...
@@ -43,3 +43,17 @@ end
end
task
:pep8
=>
:"pep8:
#{
system
}
"
end
dquality_dir
=
File
.
join
(
REPORT_DIR
,
"diff_quality"
)
directory
dquality_dir
desc
"Build the html diff quality reports, and print the reports to the console."
task
:quality
=>
dquality_dir
do
# Generage diff-quality html report for pep8, and print to console
sh
(
"diff-quality --violations=pep8 --html-report
#{
dquality_dir
}
/diff_quality_pep8.html"
)
sh
(
"diff-quality --violations=pep8"
)
# Generage diff-quality html report for pylint, and print to console
sh
(
"diff-quality --violations=pylint --html-report
#{
dquality_dir
}
/diff_quality_pylint.html"
)
sh
(
"diff-quality --violations=pylint"
)
end
\ No newline at end of file
rakelib/tests.rake
View file @
6923687c
requirements/edx/github.txt
View file @
6923687c
...
...
@@ -10,4 +10,4 @@
# Our libraries:
-e git+https://github.com/edx/XBlock.git@b697bebd45deebd0f868613fab6722a0460ca0c1#egg=XBlock
-e git+https://github.com/edx/codejail.git@c08967fb44d1bcdb259d3ec58812e3ac592539c2#egg=codejail
-e git+https://github.com/edx/diff-cover.git@v0.
1.3
#egg=diff_cover
-e git+https://github.com/edx/diff-cover.git@v0.
2.0
#egg=diff_cover
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment