Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: 2.0

jobs:
"ruby-3.0.0":
docker:
- image: circleci/ruby:3.0.0
environment:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
BUNDLE_PATH: vendor/bundle
steps:
- checkout
- restore_cache:
keys:
- v1-bundle-{{ .Branch }}-{{ checksum "invitation.gemspec" }}
- v1-bundle-{{ .Branch }}
- run:
name: Upgrade Bundler
command: gem install --no-doc bundler -v "$(grep bundler *.gemspec | awk '{print $NF}' | tr -d \' )"
- run:
name: Bundle Install
command: bundle install
- save_cache:
key: v1-bundle-{{ .Branch }}-{{ checksum "invitation.gemspec" }}
paths:
- vendor/bundle
- run:
name: Run rspec in parallel
command: |
bundle exec rspec --profile 10 \
--out test_results/rspec.xml \
--format progress
- store_test_results:
path: test_results

workflows:
version: 2
test:
jobs:
- "ruby-3.0.0"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ spec/dummy/tmp/
spec/dummy/.sass-cache
/.idea/
*emfile.lock
.byebug_history
```
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.0.0
Loading