Update README.md #50
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: Tests without a database PHP^8 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
no-db-tests-2204: | |
runs-on: ubuntu-22.04 | |
name: "Running Tests for PHP ${{ matrix.php-version }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: ['8.1', '8.2', '8.3'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: mbstring, sockets | |
coverage: xdebug | |
ini-values: max_execution_time=0 | |
- name: Install dependencies | |
run: composer install --no-progress | |
- name: Test with phpunit | |
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite "NoDatabase" |