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
d6434676
Commit
d6434676
authored
Aug 15, 2014
by
Minh Tue Vo
Committed by
benrobot
Oct 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed capturing screenshots
parent
2b40e262
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
scripts/post_worker.py
+7
-0
tddium.yml
+1
-2
No files found.
scripts/post_worker.py
View file @
d6434676
...
...
@@ -27,4 +27,10 @@ if count > 0:
shutil
.
copyfile
(
output_filename
,
file_dest
)
print
"done copying file"
# TODO: fold the remaining bash script into the Python script
# finding if there is any screenshots
# print "checking for screenshots"
# for (path, dirs, files) in os.walk('test_root/log'):
# print files
print
"TDDIUM_SESSION_ID:"
,
os
.
environ
[
'TDDIUM_SESSION_ID'
]
\ No newline at end of file
tddium.yml
View file @
d6434676
...
...
@@ -7,9 +7,8 @@ tddium:
:version
:
"
1.8.5.5"
:hooks
:
:pre_setup
:
"
virtualenv
$HOME/python-env
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/paver.txt
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/pre.txt
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/base.txt
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/github.txt
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/local.txt
&&
$HOME/python-env/bin/pip
install
-r
requirements/edx/post.txt"
:post_build
:
'
for
i
in
$(find
test_root/log
-name
*.png);
do
cp
-R
$i
$HOME/results/$TDDIUM_SESSION_ID/session/;
echo
"copying
file
$i";
done'
# :post_build: "paver coverage; paver bokchoy_coverage; for i in $(find reports -name cover); do cp -R $i $HOME/results/$TDDIUM_SESSION_ID/session/; done"
:post_worker
:
'
python
./scripts/post_worker.py'
:post_worker
:
'
python
./scripts/post_worker.py
;
echo
"attaching
failed
screenshots
(if
any)";
for
i
in
$(find
test_root/log
-name
*.png);
do
cp
-R
$i
$HOME/results/$TDDIUM_SESSION_ID/session/;
echo
"copying
file
$i";
done
'
:cache
:
:key_paths
:
-
requirements/edx/paver.txt
...
...
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