Skip to content

Commit 8cec23c

Browse files
Merge pull request #8 from nxt-insurance/denis/fix-circleci-config
Fix CircleCI configuration
2 parents 80003ef + 4189808 commit 8cec23c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.circleci/config.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
jobs:
4-
tests_and_linters::
4+
tests_and_linters:
55
docker:
66
- image: "cimg/ruby:3.4.2"
77
environment:
@@ -12,23 +12,15 @@ jobs:
1212
resource_class: medium
1313
steps:
1414
- checkout
15-
- run: bundle config rubygems.pkg.github.com ${GITHUB_PACKAGE_REGISTRY_USER}:${GITHUB_PACKAGE_REGISTRY_ACCESS_TOKEN}
1615
- ruby/install-deps:
1716
key: gems-v6
1817
include-branch-in-cache-key: false
1918
- run:
20-
command: "bundle exec rubocop --format progress"
2119
name: "Rubocop"
20+
command: "bundle exec rake rubocop"
2221
- run:
23-
name: "RSpec"
24-
command: |
25-
bundle exec rspec \
26-
--color \
27-
--format progress \
28-
--require spec_helper \
29-
--fail-fast \
30-
--format RspecJunitFormatter \
31-
--out /tmp/rspec/junit.xml
22+
name: "Minitest"
23+
command: "bundle exec rake test"
3224
- store_artifacts:
3325
path: /tmp/rspec/
3426
destination: rspec
@@ -42,4 +34,4 @@ workflows:
4234
version: 2
4335
test:
4436
jobs:
45-
- tests
37+
- tests_and_linters

0 commit comments

Comments
 (0)