Skip to content

docs(readme): document or and negated like variants #6

docs(readme): document or and negated like variants

docs(readme): document or and negated like variants #6

name: integration-tests
on:
workflow_dispatch:
push:
paths:
- '**.php'
- '.github/workflows/integration-tests.yml'
- 'composer.json'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
mysql:
runs-on: ubuntu-latest
timeout-minutes: 10
services:
mysql:
image: mysql:8
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: testing
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping --silent"
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- uses: actions/checkout@v7
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: dom, curl, libxml, mbstring, zip, pdo, pdo_mysql, bcmath, intl
coverage: none
- run: composer install --no-interaction --prefer-dist
- name: Run integration tests on MySQL
run: vendor/bin/pest --group=integration --ci
env:
DB_CONNECTION: mysql
DB_HOST: 127.0.0.1
DB_PORT: 3306
DB_DATABASE: testing
DB_USERNAME: root
DB_PASSWORD: root
pgsql:
runs-on: ubuntu-latest
timeout-minutes: 10
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: testing
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v7
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: dom, curl, libxml, mbstring, zip, pdo, pdo_pgsql, bcmath, intl
coverage: none
- run: composer install --no-interaction --prefer-dist
- name: Run integration tests on PostgreSQL
run: vendor/bin/pest --group=integration --ci
env:
DB_CONNECTION: pgsql
DB_HOST: 127.0.0.1
DB_PORT: 5432
DB_DATABASE: testing
DB_USERNAME: postgres
DB_PASSWORD: postgres