Skip to content

Commit

Permalink
Add sentry-resque's CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jun 21, 2021
1 parent b8e0dd0 commit f982ade
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: sentry-resque Test

on:
workflow_dispatch:
push:
branches:
- master
- \d+-\d+
pull_request:
jobs:
test:
defaults:
run:
working-directory: sentry-resque
name: Test on ruby ${{ matrix.ruby_version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby_version: [2.4, 2.5, 2.6, 2.7, '3.0', jruby]
os: [ubuntu-latest]
include:
- ruby_version: '3.0'
env: RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
with:
bundler: 1
ruby-version: ${{ matrix.ruby_version }}

- name: Start Redis
uses: supercharge/redis-github-action@1.1.0
with:
redis-version: 5

- name: Run specs
run: |
bundle install --jobs 4 --retry 3
bundle exec rake

0 comments on commit f982ade

Please sign in to comment.