PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Piotr Synowiec   PHP HTML Class Library   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP HTML Class Library
Compose HTML documents with tag classes
Author: By
Last change:
Date: 4 years ago
Size: 902 bytes
 

Contents

Class file image Download
name: CI on: [push] jobs: ci: runs-on: [ubuntu-latest] strategy: matrix: php: [7.3, 7.4] steps: - uses: actions/checkout@v1 - name: Install Composer dependencies run: composer install --prefer-dist - name: Linter run: php${{ matrix.php }} ./vendor/bin/parallel-lint --exclude vendor . - name: Code sniffer if: ${{ matrix.php == 7.3 }} run: php${{ matrix.php }} ./vendor/bin/phpcs --standard=./ruleset.xml --extensions=php - name: Psalm run: php${{ matrix.php }} ./vendor/bin/psalm - name: PHPUnit run: php${{ matrix.php }} ./vendor/bin/phpunit --coverage-clover=var/coverage.xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./var/coverage.xml fail_ci_if_error: true