Skip to content

chore: updating cs standards. #20

chore: updating cs standards.

chore: updating cs standards. #20

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php: ["8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
dependencies: ["highest"]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: gmp
coverage: xdebug
- name: Install and cache Composer dependencies
uses: ramsey/composer-install@v4
with:
dependency-versions: ${{ matrix.dependencies }}
- name: Run linter
run: make lint
- name: Run unit tests
run: make unit
- name: Run static analysis
run: make static
- name: Upload coverage
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}