forked from alexrudall/ruby-anthropic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
45 lines (42 loc) · 962 Bytes
/
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
version: 2.1 # Use 2.1 to enable using orbs and other features.
# Declare the orbs that we'll use in our config.
orbs:
ruby: circleci/ruby@1.0
jobs:
rubocop:
parallelism: 1
docker:
- image: cimg/ruby:3.1-node
steps:
- checkout
- ruby/install-deps
- run:
name: Run Rubocop
command: bundle exec rubocop
test:
parameters:
ruby-image:
type: string
parallelism: 1
docker:
- image: << parameters.ruby-image >>
steps:
- checkout
- ruby/install-deps
- run:
name: Run tests
command: bundle exec rspec -fd
workflows:
version: 2
checks:
jobs:
- rubocop
- test:
matrix:
parameters:
ruby-image:
- cimg/ruby:2.6-node
- cimg/ruby:2.7-node
- cimg/ruby:3.0-node
- cimg/ruby:3.1-node
- cimg/ruby:3.2-node