Bump phpunit/phpunit from 10.5.16 to 11.1.1 #36
Workflow file for this run
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- v2 | |
pull_request: | |
branches: | |
- master | |
- develop | |
- v2 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:stable-dind | |
options: --privileged | |
env: | |
DOCKER_DRIVER: overlay2 | |
DOCKER_HOST: tcp://localhost:2375 | |
DOCKER_TLS_CERTDIR: "" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- name: Test | |
run: | | |
cp .env.testing .env | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
/usr/local/bin/composer update --ignore-platform-req=ext-gd --ignore-platform-req=ext-intl --ignore-platform-req=ext-iconv | |
./vendor/bin/sail up -d | |
./vendor/bin/sail composer update | |
./vendor/bin/sail npm install | |
./vendor/bin/sail npm run build | |
./vendor/bin/sail test --env=testing |