update circleci config

This commit is contained in:
Albert Yi
2018-05-11 13:30:17 -07:00
parent c6ae060d28
commit 72d630a300

View File

@@ -44,9 +44,8 @@ jobs:
- run: - run:
name: Run tests name: Run tests
command: | command: |
docker-compose -f config/docker/compose.yml exec web bash -c 'curl -o /tmp/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci && chmod +x /tmp/circleci' sudo curl -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci && chmod +x /usr/local/bin/circleci
docker-compose -f config/docker/compose.yml exec web bash -c '/tmp/circleci tests glob "test/**/*_test.rb" | /tmp/circleci tests split | xargs echo' circleci tests glob "test/**/*_test.rb" | circleci tests split | docker-compose -f config/docker/compose.yml exec web bin/rails test
docker-compose -f config/docker/compose.yml exec web bash -c '/tmp/circleci tests glob "test/**/*_test.rb" | /tmp/circleci tests split | xargs bin/rails test'
- store_test_results: - store_test_results:
path: test/reports path: test/reports
- run: - run: