Skip to content

Commit

Permalink
Use postgres rather than sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadel committed Aug 25, 2021
1 parent 02f694c commit 43ecf4c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,22 @@ jobs:
type: string
default: 5.1.7
executor:
name: samvera/ruby_fcrepo_solr_redis
name: samvera/ruby_fcrepo_solr_redis_postgres
ruby_version: << parameters.ruby_version >>
working_directory: ~/project
parallelism: 1
environment:
DATABASE_URL: postgresql://postgres@127.0.0.1/circle_test
DATABASE_NAME: circle_test
POSTGRES_DB: circle_test
DATABASE_USERNAME: postgres
POSTGRES_HOST: 127.0.0.1
POSTGRES_USER: postgres
COVERALLS_PARALLEL: true
RAILS_VERSION: << parameters.rails_version >>
steps:
- checkout

- run:
name: install sqlite3
command: sudo apt-get update && sudo apt-get install -y libsqlite3-dev

- samvera/bundle:
ruby_version: << parameters.ruby_version >>
bundler_version: << parameters.bundler_version >>
Expand All @@ -36,10 +38,6 @@ jobs:

- samvera/install_solr_core

- run:
name: install sqlite3
command: bundle exec rake db:migrate

- samvera/parallel_rspec
workflows:
version: 2
Expand Down

0 comments on commit 43ecf4c

Please sign in to comment.