-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an Actions workflow for CI against multiple Ruby verisons
- Loading branch information
1 parent
daf3221
commit af2cbd1
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Does This Really Belong to GitHub issues? | ||
|
||
If you find a bug you understand well, poor default, incorrect or unclear piece of documentation, | ||
or missing feature, please [file an | ||
issue](http://github.com/ruby-amqp/bunny/issues) on GitHub. | ||
|
||
Please use [Bunny's mailing list](http://groups.google.com/group/ruby-amqp) for questions, | ||
investigations, and discussions. GitHub issues should be used for specific, well understood, actionable | ||
maintainers and contributors can work on. | ||
|
||
When filing an issue, please specify | ||
|
||
* Which Bunny and RabbitMQ versions are used | ||
* Recent RabbitMQ log file contents | ||
* Full exception stack traces | ||
* Steps to reproduce or a failing test case | ||
|
||
This would greatly help the maintainers help you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Ruby CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
ruby-version: | ||
- "3.4.2" | ||
- "3.3.7" | ||
- "3.2.7" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run tests | ||
run: bundle exec rspec -c |