Skip to content

# Micro ORM 6.0 - Major Release #191

# Micro ORM 6.0 - Major Release

# Micro ORM 6.0 - Major Release #191

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- master
tags:
- "*.*.*"
pull_request:
branches:
- master
jobs:
Build:
runs-on: 'ubuntu-latest'
container: 'byjg/php:${{ matrix.php-version }}-cli'
strategy:
matrix:
php-version:
- "8.4"
- "8.3"
- "8.2"
- "8.1"
services:
mysql:
image: mysql:8.0.20
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
ports:
- "3306:3306"
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=20s
--health-retries=10
env:
MYSQL_TEST_HOST: mysql
steps:
- uses: actions/checkout@v4
- run: composer install
- run: ./vendor/bin/psalm
- run: ./vendor/bin/phpunit
Documentation:
if: github.ref == 'refs/heads/master'
needs: Build
uses: byjg/byjg.github.io/.github/workflows/add-doc.yaml@master
with:
folder: php
project: ${{ github.event.repository.name }}
secrets:
DOC_TOKEN: ${{ secrets.DOC_TOKEN }}