Skip to content

Commit

Permalink
Parallelism test
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahzs committed Aug 30, 2018
1 parent e950c05 commit 843f3c2
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .circleci/config.yml
@@ -1,6 +1,21 @@
version: 2
jobs:
build:
js:
working_directory: ~/Charcoal-SE/metasmoke
parallelism: 1
shell: /bin/bash --login

docker:
- image: circleci/ruby:2.5-node

steps:
- run: if [ -z "${NODE_ENV:-}" ]; then export NODE_ENV=test; fi
- run: export PATH="~/Charcoal-SE/metasmoke/node_modules/.bin:$PATH"
- run: npm install
- run: echo -e "export RAILS_ENV=test\nexport RACK_ENV=test" >> $BASH_ENV
- run: npm test

ruby:
working_directory: ~/Charcoal-SE/metasmoke
parallelism: 1
shell: /bin/bash --login
Expand Down Expand Up @@ -75,3 +90,10 @@ jobs:
path: coverage
- store_artifacts:
path: /tmp/circleci-test-results

workflows:
version: 2
build_and_test:
jobs:
- js
- ruby

0 comments on commit 843f3c2

Please sign in to comment.