Skip to content

Commit af2cbd1

Browse files
Add an Actions workflow for CI against multiple Ruby verisons
1 parent daf3221 commit af2cbd1

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Does This Really Belong to GitHub issues?
2+
3+
If you find a bug you understand well, poor default, incorrect or unclear piece of documentation,
4+
or missing feature, please [file an
5+
issue](http://github.com/ruby-amqp/bunny/issues) on GitHub.
6+
7+
Please use [Bunny's mailing list](http://groups.google.com/group/ruby-amqp) for questions,
8+
investigations, and discussions. GitHub issues should be used for specific, well understood, actionable
9+
maintainers and contributors can work on.
10+
11+
When filing an issue, please specify
12+
13+
* Which Bunny and RabbitMQ versions are used
14+
* Recent RabbitMQ log file contents
15+
* Full exception stack traces
16+
* Steps to reproduce or a failing test case
17+
18+
This would greatly help the maintainers help you.

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Ruby CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "main"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
ruby-version:
18+
- "3.4.2"
19+
- "3.3.7"
20+
- "3.2.7"
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Ruby ${{ matrix.ruby-version }}
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby-version }}
28+
- name: Install dependencies
29+
run: bundle install
30+
- name: Run tests
31+
run: bundle exec rspec -c

0 commit comments

Comments
 (0)