Fix PHP CS Fixer violations in AbstractProvider and CoyoteCert #181
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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: PHP ${{ matrix.php }} | |
| runs-on: ubuntu-latest | |
| env: | |
| PEBBLE_URL: https://localhost:14000/dir | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: ["8.3", "8.4", "8.5"] | |
| services: | |
| pebble: | |
| image: ghcr.io/letsencrypt/pebble:latest | |
| ports: | |
| - 14000:14000 | |
| - 15000:15000 | |
| env: | |
| PEBBLE_VA_NOSLEEP: "1" | |
| PEBBLE_VA_ALWAYS_VALID: "1" | |
| PEBBLE_WFE_NONCEREJECT: "0" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up PHP ${{ matrix.php }} | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: curl, json, mbstring, openssl | |
| coverage: pcov | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-interaction --no-progress | |
| - name: Wait for Pebble | |
| run: | | |
| timeout 30 bash -c \ | |
| 'until curl -sk https://localhost:14000/dir > /dev/null 2>&1; do sleep 1; done' | |
| - name: Run tests | |
| run: vendor/bin/pest --parallel --coverage --min=80 --coverage-clover=coverage.xml | |
| - name: Upload coverage to Codecov | |
| if: matrix.php == '8.5' | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} |