]> cat aescling's git repositories - mastodon.git/commitdiff
Add parallel test processors (#7215)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Sat, 21 Apr 2018 19:36:22 +0000 (04:36 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 21 Apr 2018 19:36:22 +0000 (21:36 +0200)
.circleci/config.yml
.env.test

index e3a9628acfd9cb6c89a7ec26cd65a6a9fc749e12..c5d6ec9d12d3185b5086c67d932ead3d32ff10b6 100644 (file)
@@ -6,13 +6,10 @@ aliases:
       - image: circleci/ruby:2.5.1-stretch-node
         environment: &ruby_environment
           BUNDLE_APP_CONFIG: ./.bundle/
-          RAILS_ENV: test
-          NODE_ENV: test
           DB_HOST: localhost
           DB_USER: root
-          LOCAL_DOMAIN: cb6e6126.ngrok.io
-          LOCAL_HTTPS: true
-          PARALLEL_TEST_PROCESSORS: 2
+          RAILS_ENV: test
+          PARALLEL_TEST_PROCESSORS: 4
           ALLOW_NOPAM: true
     working_directory: ~/projects/mastodon/
 
index 7da76f8ef889de35dbdb2c5675bcbf74cdf38538..726351c5e357c2fcf78bdb14a3073c3bfa038080 100644 (file)
--- a/.env.test
+++ b/.env.test
@@ -1,3 +1,5 @@
+# Node.js
+NODE_ENV=test
 # Federation
 LOCAL_DOMAIN=cb6e6126.ngrok.io
 LOCAL_HTTPS=true