Browse Source

Add parallel test processors (#7215)

pull/4/head
Yamagishi Kazutoshi 6 years ago
committed by Eugen Rochko
parent
commit
b8f0cfd6e3
2 changed files with 4 additions and 5 deletions
  1. +2
    -5
      .circleci/config.yml
  2. +2
    -0
      .env.test

+ 2
- 5
.circleci/config.yml View File

@ -6,13 +6,10 @@ aliases:
- image: circleci/ruby:2.5.1-stretch-node - image: circleci/ruby:2.5.1-stretch-node
environment: &ruby_environment environment: &ruby_environment
BUNDLE_APP_CONFIG: ./.bundle/ BUNDLE_APP_CONFIG: ./.bundle/
RAILS_ENV: test
NODE_ENV: test
DB_HOST: localhost DB_HOST: localhost
DB_USER: root 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 ALLOW_NOPAM: true
working_directory: ~/projects/mastodon/ working_directory: ~/projects/mastodon/

+ 2
- 0
.env.test View File

@ -1,3 +1,5 @@
# Node.js
NODE_ENV=test
# Federation # Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true LOCAL_HTTPS=true

Loading…
Cancel
Save