You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by me...@apache.org on 2018/03/20 20:24:53 UTC

[beam-site] 01/02: parallelise test

This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit 61ec49b608656395d8631632568e26c7d8c626a7
Author: Taro Murao <ta...@gmail.com>
AuthorDate: Wed Feb 28 15:16:38 2018 +0100

    parallelise test
---
 README.md | 2 ++
 Rakefile  | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a61dc2b..b0e00a9 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,8 @@ This repository contains:
 
 ### Setup
 
+You need Ruby version >= 2.2.0 to build the project.
+
 Install [Ruby Gems](https://rubygems.org/pages/download), a package management framework for Ruby.
 
 Install [Bundler](http://bundler.io/v1.3/rationale.html), which  we use to specify dependencies and ensure
diff --git a/Rakefile b/Rakefile
index b92022d..63a222c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
 require 'fileutils'
 require 'html-proofer'
+require 'etc'
 
 task :test do
   FileUtils.rm_rf('./.testcontent')
@@ -7,6 +8,7 @@ task :test do
   HTMLProofer.check_directory("./.testcontent", {
     :allow_hash_href => true,
     :check_html => true,
-    :file_ignore => [/javadoc/, /v2/, /pydoc/]
+    :file_ignore => [/javadoc/, /v2/, /pydoc/],
+    :parallel => { :in_processes => Etc.nprocessors },
     }).run
 end

-- 
To stop receiving notification emails like this one, please contact
mergebot-role@apache.org.