Skip to content

feat(chromium): add clip options to screenshot routes #67

feat(chromium): add clip options to screenshot routes

feat(chromium): add clip options to screenshot routes #67

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@v4
- 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' ]
name: Tests on PHP ${{ matrix.php }}
steps:
- name: Checkout source code
uses: actions/checkout@v4
- 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
bash <(curl -s https://codecov.io/bash)