Skip to content

test

test #5135

Workflow file for this run

name: test
on:
- push
env:
CI: 'true'
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: test
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
redis:
image: redis:7
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
- name: apt install
run: |
sudo apt update
sudo apt install ffmpeg
sudo apt install libpq-dev
sudo apt install libidn11-dev
- name: bundle install
run: |
gem install bundler -v '~>2.0'
bundle install --jobs 4 --retry 3
bundle exec rake bundle:update
git diff
bundle exec rake bundle:check
- name: Run lint
run: |
bundle exec rake lint