Skip to content

Pass token to email subject translation (#224) #303

Pass token to email subject translation (#224)

Pass token to email subject translation (#224) #303

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
gemfile:
- Gemfile
- gemfiles/Gemfile-rails-main
- gemfiles/Gemfile-rails-7-0
- gemfiles/Gemfile-rails-6-1
exclude:
- gemfile: gemfiles/Gemfile-rails-main
ruby: "3.0"
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: migration
run: |
bin/rails db:create RAILS_ENV=test
bin/rails db:migrate RAILS_ENV=test
- name: test
run: bin/rails test
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}