Skip to content

Merge pull request #1 from ProtonMail/upgrade-dependencies-1 #2

Merge pull request #1 from ProtonMail/upgrade-dependencies-1

Merge pull request #1 from ProtonMail/upgrade-dependencies-1 #2

Workflow file for this run

name: PHP Unit/Quality CI
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Install Dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
- name: PHP Unit
run: ./vendor/bin/phpunit --testdox