-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
74 lines (69 loc) · 2.04 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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