skip pixiv-related tests that throw networking errors
This commit is contained in:
@@ -43,12 +43,12 @@ jobs:
|
||||
docker-compose -f config/docker/compose.yml exec archives dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bundle exec rake db:create ; bundle exec rake db:migrate'
|
||||
docker-compose -f config/docker/compose.yml exec web dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bin/rake db:create ; bin/rake db:migrate'
|
||||
- run:
|
||||
name: Test splitting
|
||||
name: Run tests
|
||||
command: |
|
||||
circleci tests glob test/**/*_test.rb | circleci tests split | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test {}'
|
||||
circleci tests glob test/**/*_test.rb | circleci tests split | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test --no-ci-clean {}'
|
||||
docker cp docker_web_1:/app/test/reports /tmp
|
||||
- store_test_results:
|
||||
path: /tmp/reports
|
||||
- run:
|
||||
name: Teardown
|
||||
command: docker-compose -f config/docker/compose.yml down
|
||||
# - run:
|
||||
# name: Teardown
|
||||
# command: docker-compose -f config/docker/compose.yml down
|
||||
|
||||
Reference in New Issue
Block a user