PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Work from Home Schedule   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Work from Home Schedule
Propose a schedule to work from home or the office
Author: By
Last change:
Date: 1 year ago
Size: 723 bytes
 

Contents

Class file image Download
name: CI on: [push, pull_request] jobs: tests: runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: [ubuntu-latest] php-versions: ['7.2', '7.3', '7.4'] steps: - name: checkout code uses: actions/checkout@v2 - name: Install dependencies run: | composer install --prefer-dist --no-interaction - name: Run tests run: ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml - name: Send code clover file to coveralls.io if: matrix.php-versions == '7.2' run: ./vendor/bin/php-coveralls -v env: COVERALLS_RUN_LOCALLY: 1 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}