Skip to content

Bump actionmailer from 7.0.8.4 to 7.0.8.5 #50

Bump actionmailer from 7.0.8.4 to 7.0.8.5

Bump actionmailer from 7.0.8.4 to 7.0.8.5 #50

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop
- name: Brakeman
run: bundle exec brakeman -q -w2
test:
name: Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: surfmon_test
ports:
- 5432:5432
options: >-
--mount type=tmpfs,destination=/var/lib/postgresql/data
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: postgres://postgres:@localhost:5432/surfmon_test
RAILS_ENV: test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
SURFMON_DATABASE_PASSWORD: password
CI: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup db
run: bundle exec rails db:schema:load --trace
- name: Run rails tests
run: bundle exec rails test