fix snowflake实例不一定存在的问题 #21
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: PHPUnit Test | |
| on: [push, pull_request] | |
| jobs: | |
| phpunit: | |
| name: PHP-${{ matrix.php_version }}-${{ matrix.perfer }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: | |
| - 8.1 | |
| - 8.2 | |
| - 8.3 | |
| - 8.4 | |
| perfer: | |
| - stable | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Install Dependencies | |
| run: composer update --prefer-dist --no-interaction --no-suggest --prefer-${{ matrix.perfer }} | |
| - name: Run PHPUnit | |
| run: ./vendor/bin/phpunit tests |