build(deps-dev): bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2 (… #774
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: test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
php-version: | |
- '7.4' | |
- '8.0' | |
- '8.1' | |
- '8.2' | |
- '8.3' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Pull | |
run: docker-compose pull --quiet | |
- name: Build | |
run: docker-compose build --build-arg PHPVERSION=${{ matrix.php-version }} | |
- name: Test | |
run: docker-compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
if: success() | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage/clover.xml |