Skip to content

Commit

Permalink
postgresssss nooooo
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsandaru committed Aug 21, 2022
1 parent 24d6578 commit 77ba00d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build_postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
services:
postgresql:
image: postgres:14
env:
POSTGRES_DB: eloquentdocs
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- 5432:5432
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- uses: actions/checkout@v2
Expand All @@ -20,7 +30,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: pcov
extensions: pdo, pdo_pgsql
coverage: none

- name: Setup
if: success()
Expand All @@ -30,14 +41,6 @@ jobs:
touch coverage.xml
mv .env.postgresql .env
- uses: harmon758/postgresql-action@v1
name: Setup postgreSQL
with:
postgresql version: '11'
postgresql user: root
postgresql password: root
postgresql db: eloquentdocs

- name: PHPUnit tests
if: success()
run: |
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

[![codecov](https://codecov.io/gh/sethsandaru/eloquent-docs/branch/main/graph/badge.svg?token=7KWW0SKF9P)](https://codecov.io/gh/sethsandaru/eloquent-docs)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/sethsandaru/eloquent-docs)
[![Build and test [MYSQL]](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_mysql.yaml/badge.svg?branch=main)](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_mysql.yaml)
[![Build and test [SQLite]](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_sqlite.yaml/badge.svg?branch=main)](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_sqlite.yaml)
[![Build and test [PostgreSQL]](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_postgresql.yaml/badge.svg?branch=main)](https://github.com/sethsandaru/eloquent-docs/actions/workflows/build_postgresql.yaml)

Quickly generate the phpDoc for your Eloquent Model. Make your Eloquent super friendly with IDEs (eg PHPStorm).

Expand Down

0 comments on commit 77ba00d

Please sign in to comment.