All checks were successful
phpunit / Integration Tests (push) Successful in 10m16s
42 lines
1018 B
YAML
42 lines
1018 B
YAML
|
|
name: phpunit
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
ci:
|
|
name: Integration Tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v3
|
|
-
|
|
name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: "latest"
|
|
tools: phpunit-bridge
|
|
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
|
|
coverage: xdebug
|
|
-
|
|
name: Cache composer dependencies
|
|
uses: actions/cache@v4
|
|
with:
|
|
key: ${{ runner.OS }}-composer-cache
|
|
path: ~/.cache/composer
|
|
#note: hashFiles is broken with act_runner;
|
|
# ${{ hashFiles('**/composer.lock') }}
|
|
restore-keys: |
|
|
${{ runner.OS }}-composer-cache
|
|
-
|
|
name: Install dependencies
|
|
run: APP_ENV=test composer install --no-progress --no-interaction --ansi
|
|
-
|
|
name: Run tests
|
|
shell: bash
|
|
run: vendor/bin/phpunit --testdox
|