File tree Expand file tree Collapse file tree 2 files changed +46
-63
lines changed Expand file tree Collapse file tree 2 files changed +46
-63
lines changed Original file line number Diff line number Diff line change 1+ name : 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.4"
19+ - " 3.3.9"
20+ - " 3.2.7"
21+
22+ env :
23+ CI : true
24+ RUNS : 5
25+
26+ services :
27+ rabbitmq :
28+ image : rabbitmq:4-management
29+ ports :
30+ - 15672:15672
31+ - 5672:5672
32+
33+ steps :
34+ - uses : actions/checkout@v4
35+ - name : Set up Ruby ${{ matrix.ruby-version }}
36+ uses : ruby/setup-ruby@v1
37+ with :
38+ ruby-version : ${{ matrix.ruby-version }}
39+ - name : Install dependencies
40+ run : bundle install
41+
42+ - name : Configure RabbitMQ
43+ run : RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} bin/ci/before_build.sh
44+
45+ - name : Run tests
46+ run : bundle exec rspec -c -fd
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments