Skip to content

Bump doorkeeper from 5.1.2 to 5.6.6 #1623

Bump doorkeeper from 5.1.2 to 5.6.6

Bump doorkeeper from 5.1.2 to 5.6.6 #1623

Workflow file for this run

name: Tests
env:
OXA_DB_USER: accounts
OXA_DB_PASS: accounts
OXA_TEST_DB: ci_test
RAILS_ENV: test
HEADLESS: true
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
tests:
timeout-minutes: 30
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:11
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
POSTGRES_USER: ${{ env.OXA_DB_USER }}
POSTGRES_DB: ${{ env.OXA_TEST_DB }}
POSTGRES_PASSWORD: ${{ env.OXA_DB_PASS }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-pr-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-pr-
- name: Test
run: |
gem install bundler -v '2.4.22'
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
bundle exec rake parallel:create parallel:load_schema parallel:seed --trace
bundle exec rspec ./spec
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}