You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ro...@apache.org on 2017/01/25 00:33:18 UTC

[1/2] beam git commit: Install test dependencies in the post commit script.

Repository: beam
Updated Branches:
  refs/heads/python-sdk 43cb4d709 -> 9540cf176


Install test dependencies in the post commit script.


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/19789db9
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/19789db9
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/19789db9

Branch: refs/heads/python-sdk
Commit: 19789db9cab031e0891cb67c4ab6b8b03c6a8c09
Parents: 43cb4d7
Author: Ahmet Altay <al...@google.com>
Authored: Tue Jan 24 15:13:03 2017 -0800
Committer: Robert Bradshaw <ro...@gmail.com>
Committed: Tue Jan 24 16:32:36 2017 -0800

----------------------------------------------------------------------
 sdks/python/run_postcommit.sh | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/19789db9/sdks/python/run_postcommit.sh
----------------------------------------------------------------------
diff --git a/sdks/python/run_postcommit.sh b/sdks/python/run_postcommit.sh
index 2e419a5..3756075 100755
--- a/sdks/python/run_postcommit.sh
+++ b/sdks/python/run_postcommit.sh
@@ -70,6 +70,10 @@ python setup.py sdist
 
 SDK_LOCATION=$(find dist/apache-beam-sdk-*.tar.gz)
 
+# Install test dependencies for ValidatesRunner tests.
+echo "pyhamcrest" > postcommit_requirements.txt
+echo "mock" >> postcommit_requirements.txt
+
 # Run ValidatesRunner tests on Google Cloud Dataflow service
 echo ">>> RUNNING DATAFLOW RUNNER VALIDATESRUNNER TESTS"
 python setup.py nosetests \
@@ -80,6 +84,7 @@ python setup.py nosetests \
     --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
     --sdk_location=$SDK_LOCATION \
     --job_name=$JOBNAME_VR_TEST \
+    --requirements_file=postcommit_requirements.txt \
     --num_workers=1"
 
 # Run wordcount on the Google Cloud Dataflow service


[2/2] beam git commit: Closes #1836

Posted by ro...@apache.org.
Closes #1836


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/9540cf17
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/9540cf17
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/9540cf17

Branch: refs/heads/python-sdk
Commit: 9540cf1762d8595126a1f96301c35524b0a804c2
Parents: 43cb4d7 19789db
Author: Robert Bradshaw <ro...@gmail.com>
Authored: Tue Jan 24 16:32:37 2017 -0800
Committer: Robert Bradshaw <ro...@gmail.com>
Committed: Tue Jan 24 16:32:37 2017 -0800

----------------------------------------------------------------------
 sdks/python/run_postcommit.sh | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------