bugfix: treat PGHOST env var as directory when it's a path #67
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
specs: | |
runs-on: ubuntu-latest | |
container: crystallang/crystal:latest | |
strategy: | |
matrix: | |
pg_version: [11, 12, 13, 14, 15] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up postgres ${{ matrix.pg_version }} | |
run: | | |
export PG_VERSION=${{matrix.pg_version}} | |
bash .github/install.sh | |
bash .github/setup.sh | |
touch spec/.run_auth_specs | |
- run: crystal --version | |
- run: shards install | |
- name: specs | |
run: | | |
export DATABASE_URL=postgres://postgres@localhost/postgres | |
crystal spec --error-on-warnings | |
check_format: | |
runs-on: ubuntu-latest | |
container: crystallang/crystal:latest-alpine | |
steps: | |
- uses: actions/checkout@v3 | |
- run: crystal tool format --check |