Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test gem under every supported Ruby version #200

Merged
merged 3 commits into from
Sep 4, 2023
Merged
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
28 changes: 26 additions & 2 deletions buildkite.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
steps:
- label: ":rspec: Tests"
- label: ":rspec: Tests :ruby: {{matrix}}"
command:
- "bundle"
- "bundle exec rake"
plugins:
- docker#v3.7.0:
image: 445615400570.dkr.ecr.us-east-1.amazonaws.com/ecr-public/docker/library/ruby:3.1.4
image: "445615400570.dkr.ecr.us-east-1.amazonaws.com/ecr-public/docker/library/ruby:{{matrix}}"
matrix:
- "latest"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
- group: ":rspec: Legacy Ruby :ruby:"
steps:
- label: ":rspec: Tests :ruby: {{matrix}}"
command:
- "gem install bundler:2.3.25"
- "bundle"
- "bundle exec rake"
soft_fail: true
Copy link
Contributor Author

@gchan gchan Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporarily allow these builds to fail. Remove when we restore compatibility.

plugins:
- docker#v3.7.0:
# Images for older Ruby versions aren't available on AWS ECR
# so fall back to Docker Hub
image: "ruby:{{matrix}}"
matrix:
- "2.6"
- "2.5"
- "2.4"
- "2.3"