a06956f164
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
567 B
YAML
27 lines
567 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
php_version: [8.0, 8.1, 8.2]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: php-actions/composer@v6
|
|
- run: |
|
|
cp ./tests/Includes/Config.yaml ./src/Config/Config.yaml
|
|
- uses: php-actions/phpunit@v3
|
|
with:
|
|
bootstrap: src/Vendor/autoload.php
|
|
php_version: ${{ matrix.php_version }}
|
|
args: "tests"
|
|
php_extensions: apcu
|