PHP Classes

File: .github/workflows/php.yml

Recommend this page to a friend!
  Classes of Angel Campos   Laravel Telegram Bot   .github/workflows/php.yml   Download  
File: .github/workflows/php.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Telegram Bot
Exchange messages between users using Telegram API
Author: By
Last change:
Date: 2 years ago
Size: 1,389 bytes
 

Contents

Class file image Download
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: name: PHPUnit runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run test suite env: XDEBUG_MODE: coverage run: composer run-script test - name: Cat junit.xml run: cat build/junit.xml - name: cat clover.xml run: cat build/clover.xml - name: Prepare for SonarCloud Scan - sed on clover.xml run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace@g' build/clover.xml - name: Prepare for SonarCloud Scan - sed on junit.xml run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace@g' build/junit.xml - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}