version: 2.1 orbs: samvera: samvera/circleci-orb@1 jobs: bundle_lint_test: parameters: ruby_version: type: string bundler_version: type: string default: 2.4.5 rails_version: type: string solr_port: type: string default: '8985' executor: name: 'samvera/ruby_fcrepo_solr' ruby_version: << parameters.ruby_version >> solr_version: 7-slim environment: RAILS_VERSION: << parameters.rails_version >> SOLR_TEST_PORT: << parameters.solr_port >> steps: - samvera/cached_checkout - checkout - run: name: Check for 'master' branch command: | git fetch --all --quiet --prune --prune-tags if [[ -n "$(git branch --all --list master */master)" ]]; then echo "A branch named 'master' was found. Please remove it." echo "$(git branch --all --list master */master)" fi [[ -z "$(git branch --all --list master */master)" ]] - samvera/bundle: ruby_version: << parameters.ruby_version >> bundler_version: << parameters.bundler_version >> - samvera/install_solr_core # Skip rubocop for now #- samvera/rubocop - samvera/parallel_rspec workflows: ci: jobs: - bundle_lint_test: name: ruby3-2_rails7-0 ruby_version: 3.2.0 rails_version: 7.0.4.2 - bundle_lint_test: name: ruby3-2_rails6-1 ruby_version: 3.2.0 rails_version: 6.1.7.2 - bundle_lint_test: name: ruby3-1_rails6-0 ruby_version: 3.1.3 rails_version: 6.0.6.1 - bundle_lint_test: name: ruby3-0_rails6-0 ruby_version: 3.0.5 rails_version: 6.0.6.1 - bundle_lint_test: name: ruby2-7_rails6-0 ruby_version: 2.7.7 rails_version: 6.0.6.1 - bundle_lint_test: name: ruby2-7_rails5-2 ruby_version: 2.7.7 rails_version: 5.2.8.1