Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Hsin-Yu Chien
edx-platform-release
Commits
5524e0bd
Commit
5524e0bd
authored
10 years ago
by
Ben Patterson
Committed by
benrobot
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add quality report capability.
parent
a90ba504
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/post_quality_build.sh
+15
-0
15 additions, 0 deletions
scripts/post_quality_build.sh
scripts/post_worker.py
+1
-1
1 addition, 1 deletion
scripts/post_worker.py
tddium.yml
+1
-1
1 addition, 1 deletion
tddium.yml
with
17 additions
and
2 deletions
scripts/post_quality_build.sh
0 → 100755
+
15
−
0
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
This diff is collapsed.
Click to expand it.
scripts/post_worker.py
+
1
−
1
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
'
]
This diff is collapsed.
Click to expand it.
tddium.yml
+
1
−
1
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
:
...
...
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