updated used versions and unified written php version style #667
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: "Running Unit Tests" | |
strategy: | |
matrix: | |
php: ['8.1.31', '8.2.27', '8.3.17'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- name: Install dependencies | |
run: composer install | |
- uses: php-actions/phpunit@v4 | |
with: | |
configuration: phpunit.xml.dist | |
php_version: ${{ matrix.php }} | |
memory_limit: 1024M | |
version: 10 | |
testsuite: Unit | |
bootstrap: vendor/autoload.php |