Make it possible to override publishing options #77
Workflow file for this run
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
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
services: | |
rabbitmq: | |
image: rabbitmq:3.10 | |
# needed because the rabbitmq container does not provide a healthcheck | |
options: >- | |
--health-cmd "rabbitmq-diagnostics ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5672:5672 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { ruby: 2.7.6 } | |
- { ruby: 3.0.4 } | |
- { ruby: 3.1.2 } | |
- { ruby: jruby-9.3.7.0, allow-failure: true } | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake | |
continue-on-error: ${{ matrix.allow-failure || false }} |