Bump postcss from 8.2.10 to 8.4.31 in /build/grunt #170
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: CI | |
on: [push, pull_request] | |
jobs: | |
run: | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: yes | |
MYSQL_DATABASE: wordpress_test | |
MYSQL_USER: username | |
MYSQL_PASSWORD: password | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.4', '8.0', '8.1'] | |
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extension-csv: mbstring, intl #optional, setup extensions | |
ini-values-csv: post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration | |
coverage: xdebug #optional, setup coverage driver | |
pecl: false #optional, setup PECL | |
- name: Check PHP Version | |
run: php -v | |
- name: Composer install | |
run: composer install --optimize-autoloader --prefer-dist | |
- name: Run PHPCS linter | |
run: ./vendor/bin/phpcs | |
- name: Run PHPStan analysis | |
run: ./vendor/bin/phpstan analyse | |
- name: Install WP Tests | |
run: bash docker/install-wp-tests.sh wordpress_test username password 127.0.0.1 latest true | |
- name: Run PHPUnit tests | |
run: ./vendor/bin/phpunit |