fix: updated configuration for clustered env (#138) #458
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Server CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: ['25.1'] | |
elixir: [ | |
'1.14.3', | |
'1.14.4', | |
'1.14.5', | |
'1.15.0', | |
'1.16.0', | |
'1.16.2' | |
] | |
services: | |
db: | |
image: postgres:latest | |
ports: ['5432:5432'] | |
env: | |
POSTGRES_DB: lynx_dev | |
POSTGRES_USER: lynx | |
POSTGRES_PASSWORD: lynx | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Get Dependencies | |
run: make deps | |
- name: Check Lynx Format | |
run: make fmt_check | |
- name: Get Version | |
run: make v | |
- name: Test Lynx | |
run: make ci | |
- name: Build Lynx | |
run: make build |