Client enhancement #467
This file contains 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 on PHP 8.2" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
with: | |
progress: yes | |
php_version: 8.2 | |
version: 2 | |
- uses: php-actions/phpunit@v3 | |
with: | |
configuration: phpunit.xml.dist | |
php_version: 8.2 | |
memory_limit: 1024M | |
version: 9 | |
testsuite: Unit | |
bootstrap: vendor/autoload.php |