-
Notifications
You must be signed in to change notification settings - Fork 22
36 lines (36 loc) · 918 Bytes
/
specs.yml
File metadata and controls
36 lines (36 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Specs
permissions:
contents: read
on:
- pull_request
jobs:
specs:
name: specs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu ]
ruby: [ "3.2", "3.3", "3.4" ]
services:
postgres:
image: postgres:9.6
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
with:
ruby-version: ${{ matrix.ruby }}
- run: ./specs.sh
- run: ./quality.sh