Gotenberg 8.25 #114
Workflow file for this run
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.1 | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Install PHP dependencies | |
| run: composer install --no-interaction --no-progress | |
| - name: Run linters | |
| run: composer lint | |
| tests: | |
| needs: | |
| - Lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: [ '8.1', '8.2', '8.3', '8.4' ] | |
| name: Tests on PHP ${{ matrix.php }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| tools: composer:v2 | |
| coverage: xdebug | |
| - name: Install PHP dependencies | |
| run: composer install --no-interaction --no-progress | |
| - name: Run tests | |
| run: composer tests | |
| - name: Upload to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true |