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
5524e0bd
Commit
5524e0bd
authored
Sep 15, 2014
by
Ben Patterson
Committed by
benrobot
Oct 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add quality report capability.
parent
a90ba504
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
scripts/post_quality_build.sh
+15
-0
scripts/post_worker.py
+1
-2
tddium.yml
+1
-1
No files found.
scripts/post_quality_build.sh
0 → 100755
View file @
5524e0bd
current_path
=
`
pwd
`
reports_path
=
$current_path
/reports
dest_path
=
$HOME
/results/
$TDDIUM_SESSION_ID
/session/
echo
"Getting Quality Reports... "
pep8_rpt
=
$reports_path
/diff_quality/diff_quality_pep8.html
pylint_rpt
=
$reports_path
/diff_quality/diff_quality_pylint.html
cp
-f
$pep8_rpt
$dest_path
cp
-f
$pylint_rpt
$dest_path
echo
"Reports can be found in "
$dest_path
scripts/post_worker.py
View file @
5524e0bd
...
...
@@ -44,4 +44,4 @@ for (path, dirs, files) in os.walk('test_root/log'):
print
'destination:'
,
destpath
shutil
.
copyfile
(
filepath
,
destpath
)
print
'TDDIUM_SESSION_ID:'
,
os
.
environ
[
'TDDIUM_SESSION_ID'
]
\ No newline at end of file
print
'TDDIUM_SESSION_ID:'
,
os
.
environ
[
'TDDIUM_SESSION_ID'
]
tddium.yml
View file @
5524e0bd
...
...
@@ -30,7 +30,7 @@ tddium:
:test_pattern
:
'
none'
:tests
:
-
:type
:
custom
:command
:
paver run_quality
:command
:
paver run_quality
&& bash ./scripts/post_quality_build.sh
:invocation
:
single
:output
:
exit-status
:report_files
:
...
...
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