PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Junior Grossi  >  Corcel (Laravel + WordPress)  >  .github/workflows/ci.yml  >  Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Corcel (Laravel + WordPress)
Use the WordPress backend with any PHP application
Author: By
Last change:
Date: 2 months ago
Size: 799 bytes
 

Contents

Class file image Download
name: CI

on: [push]

jobs:
  build-tests:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    
    - name: Setup php73
      uses: shivammathur/setup-php@v2
      with:
        php-version: '7.3'
    
    - name: Running tests php73
      run: |
        composer install --prefer-dist --quiet
        php vendor/bin/phpunit

    - name: Setup php74
      uses: shivammathur/setup-php@v2
      with:
        php-version: '7.4'

    - name: Running tests php74
      run: |
        composer install --prefer-dist --quiet
        php vendor/bin/phpunit

    - name: Setup php80
      uses: shivammathur/setup-php@v2
      with:
        php-version: '8.0'

    - name: Running tests php80
      run: |
        composer install --prefer-dist --quiet
        php vendor/bin/phpunit
For more information send a message to info at phpclasses dot org.