Skip to content

Merge pull request #219 from Sebbo94BY/#213-factory-fails-without-use… #114

Merge pull request #219 from Sebbo94BY/#213-factory-fails-without-use…

Merge pull request #219 from Sebbo94BY/#213-factory-fails-without-use… #114

Workflow file for this run

name: "PHPUnit"
on:
push:
branches:
- master
- main
- dev
pull_request:
schedule:
- cron: '0 15 * * 2'
jobs:
phpunit-tests:
strategy:
fail-fast: false
matrix:
php_versions: [
'8.0',
'8.1',
'8.2',
]
name: PHP ${{ matrix.php_versions }}
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install php ${{ matrix.php_versions }} with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
extensions: json ctype openssl ssh2
coverage: none
tools: none
- name: install dependencies
uses: php-actions/composer@v6
with:
dev: yes
php_version: ${{ matrix.php_versions }}
php_extensions: json ctype openssl ssh2
- name: run phpunit tests
run: ./vendor/bin/phpunit --no-coverage