Хранение safeBlock в памяти #62
Workflow file for this run
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- 7.3 | |
- 7.4 | |
- 8.0 | |
- 8.1 | |
- 8.2 | |
- 8.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: xdebug | |
php-version: ${{ matrix.php-version }} | |
extensions: mbstring | |
- name: Composer install | |
uses: ramsey/composer-install@v3 | |
- name: Run PHPUnit | |
run: vendor/bin/phpunit --coverage-clover=clover.xml | |
- name: Upload codecov coverage reporter | |
if: matrix.php-version == '8.3' | |
uses: codecov/codecov-action@v4 | |
with: | |
files: clover.xml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload codacy coverage reporter | |
if: matrix.php-version == '8.3' | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: clover.xml |