Skip to content

Change clockwork by rufus scheduler #169

Change clockwork by rufus scheduler

Change clockwork by rufus scheduler #169

Workflow file for this run

name: CI
on: push
env:
CI: true
jobs:
rubocop:
name: Rubocop
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
- name: Run Rubocop
run: bin/rubocop
tests:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
- name: Setup database
run: bin/rails db:setup
- name: Run tests
run: |
bin/rails test --fail-fast
bin/rails test:system