Skip to content

chore(deps): bump the dependencies group across 1 directory with 4 updates #84

chore(deps): bump the dependencies group across 1 directory with 4 updates

chore(deps): bump the dependencies group across 1 directory with 4 updates #84

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: ['ubuntu-latest']
ruby: ['3.0', '3.1', '3.2', '3.3']
postgres: ['16-bullseye', '15-bullseye', '14-bullseye', '13-bullseye', '12-bullseye']
name: Ruby ${{ matrix.ruby }} - PostgreSQL ${{ matrix.postgres }}
# https://docs.github.com/en/actions/learn-github-actions/expressions#example
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres:${{ matrix.postgres }}
env:
POSTGRES_USER: ubuntu
POSTGRES_DB: handcuffs_test
POSTGRES_HOST_AUTH_METHOD: trust
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
env:
PGHOST: localhost
PGUSER: ubuntu
RAILS_ENV: test
BUNDLER_VERSION: 2.4.22
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: ${{ env.BUNDLER_VERSION }}
bundler-cache: true
- name: Installing dependencies
run: bundle install && cd spec/dummy && bundle install
- name: Install Apprasals Dependencies
run: bundle exec appraisal install && cd spec/dummy && bundle exec appraisal install
- name: Setup Database
run: cd spec/dummy && bundle exec rake db:create db:migrate --trace
- name: Run Appraisals Tests
run: bundle exec appraisal rspec
- name: Run Dummy App Tests
run: cd spec/dummy && bundle exec appraisal bin/rspec