chore: Fix tests #198
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: Run phpunit tests on 8.2 | |
on: [push] | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
extensions: intl, zip, zlib | |
coverage: none | |
ini-values: memory_limit=1G, phar.readonly=0 | |
- name: Install Project Dependencies | |
run: composer install --no-interaction --no-ansi --no-progress --no-suggest | |
- name: setup git | |
run: git config --global user.email "[email protected]" && git config --global user.name "phpunit" && git config --global init.defaultBranch master | |
- name: Run unit tests | |
run: ./vendor/bin/phpunit tests --exclude-group docker |