Skip to content

Commit

Permalink
Merge branch 'main' into garyhtou/add-scheduled-job-delay-threshold-c…
Browse files Browse the repository at this point in the history
…onfiguration
  • Loading branch information
garyhtou committed Mar 2, 2024
2 parents a54306f + a82578a commit 1da3112
Show file tree
Hide file tree
Showing 42 changed files with 373 additions and 217 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby
name: Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
on: [push, pull_request]

permissions:
contents: read
Expand All @@ -28,7 +24,7 @@ jobs:
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.3
bundler-cache: true
- name: Run rubocop
run: |
Expand All @@ -42,7 +38,7 @@ jobs:
BUNDLE_GITHUB__COM: x-access-token:${{ secrets.GH_TOKEN }}
strategy:
matrix:
ruby-version: ['3.0']
ruby-version: ['3.0', '3.1', '3.2', '3.3']
services:
redis:
image: redis:4.0-alpine
Expand All @@ -56,7 +52,7 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Prepare database
run: bin/rails db:setup
run: bin/rails db:create db:schema:load
- name: Run tests
run: bin/rails test
- name: Run system tests
Expand Down
Loading

0 comments on commit 1da3112

Please sign in to comment.