File "tests.yml"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/svg-support/vendor/enshrined/svg-sanitize/.github/workflows/tests.yml
File size: 765 bytes
MIME-type: text/plain
Charset: utf-8

name: Tests

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
      fail-fast: false

    steps:
      - uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          tools: composer:v2

      - name: Validate composer.json and composer.lock
        run: composer validate

#      - name: Lint PHP
#        uses: overtrue/phplint@7.4
#        with:
#          path: .
#          options: --exclude=vendor

      - name: Install dependencies
        run: composer install --prefer-dist --no-progress

      - name: Run test suite
        run: composer run-script test