PHP Classes

File: .github/workflows/run_tests.yml

Recommend this page to a friend!
  Classes of William  >  neoshiftlab PHP Tree Data Structure  >  .github/workflows/run_tests.yml  >  Download  
File: .github/workflows/run_tests.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: neoshiftlab PHP Tree Data Structure
Create and manipulate trees of data values
Author: By
Last change:
Date: 6 months ago
Size: 670 bytes
 

Contents

Class file image Download
name: Run tests

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php: [8.0, 8.1]

    steps:
      - uses: actions/checkout@v1

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

      - name: Install composer dependencies
        run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist

      - name: Run tests
        run: vendor/bin/phpunit

      - name: Run phpcs
        run: vendor/bin/phpcs --standard=PSR12 ./src
For more information send a message to info at phpclasses dot org.