Skip to content

Update phpunit/phpunit requirement from ^9.3.3 to ^11.3.2 in /web #1071

Update phpunit/phpunit requirement from ^9.3.3 to ^11.3.2 in /web

Update phpunit/phpunit requirement from ^9.3.3 to ^11.3.2 in /web #1071

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
CI:
runs-on: ubuntu-latest
env:
PHP_INI_VALUES: assert.exception=1, zend.assertions=1
SHOPIFY_API_KEY: test-api-key
SHOPIFY_API_SECRET: test-secret-key
SCOPES: read_products,write_products
HOST: app-host-name.com
APP_ENV: local
strategy:
fail-fast: false
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
defaults:
run:
working-directory: ./web
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Find any lock file
run: if test -f ../yarn.lock || test -f ../pnpm-lock.yaml || test -f ../package-lock.json; then echo "Please don't commit lock files" && exit 1; fi
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2, phpcs
ini-values: ${{ env.PHP_INI_VALUES }}
- name: Install dependencies with composer
run: composer update --no-ansi --no-interaction --no-progress
- name: Run linter
run: composer lint