diff --git a/.circleci/config.yml b/.circleci/config.yml index f6963bf8c..ea4f9427a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,6 @@ 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: Run tests command: | circleci tests glob test/**/*_test.rb | circleci tests split --split-by=timings | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test --no-ci-clean {}' diff --git a/config/docker/compose.yml b/config/docker/compose.yml index 1ca8228fa..217a549c7 100644 --- a/config/docker/compose.yml +++ b/config/docker/compose.yml @@ -6,6 +6,10 @@ services: - "5432:5432" environment: - POSTGRES_PASSWORD + redis: + image: redis:latest + ports: + - "6379:6379" memcached: image: memcached:alpine ports: