Skip to content

keep using alpine 3.18 based docker image for now #544

keep using alpine 3.18 based docker image for now

keep using alpine 3.18 based docker image for now #544

Workflow file for this run

name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
RALS_ENV: test
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: bundle install
- name: Setup database
run: bundle exec rails db:create db:migrate
- name: Run tests
run: bundle exec rspec