Skip to content

Merge pull request #358 from woocommerce/dev/pin-actions-to-full-comm… #12

Merge pull request #358 from woocommerce/dev/pin-actions-to-full-comm…

Merge pull request #358 from woocommerce/dev/pin-actions-to-full-comm… #12

Workflow file for this run

name: CI
on:
push:
branches:
- trunk
jobs:
test:
name: PHP ${{ matrix.php }}
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # v2.34.1
with:
php-version: ${{ matrix.php }}
tools: composer
coverage: xdebug
- name: Tool versions
run: |
php --version
composer --version
- name: Install composer packages
run: ./.github/bin/install-dependencies
- name: Run tests
run: ./.github/bin/run-phpunit