Skip to content

Support rails 7.1.2 (#66) #45

Support rails 7.1.2 (#66)

Support rails 7.1.2 (#66) #45

Workflow file for this run

name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby: ['3.1']
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
services:
postgres:
image: postgres:12.8
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
POSTGRES_USER: runner
POSTGRES_HOST_AUTH_METHOD: trust
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Install Ruby, bundler and the bundle
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
- name: Publish code coverage
if: ${{ github.actor != 'dependabot[bot]' }}
uses: paambaati/codeclimate-action@v3.0.0