PHP Classes

File: .github/workflows/tests.yml

Recommend this page to a friend!
  Classes of Fernando Val   Springy   .github/workflows/tests.yml   Download  
File: .github/workflows/tests.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Springy
Microframework for Web application development
Author: By
Last change:
Date: 1 month ago
Size: 1,218 bytes
 

Contents

Class file image Download
name: Tests on: push: branches: - master - development pull_request: branches: - master permissions: contents: read jobs: tests: runs-on: ubuntu-latest strategy: fail-fast: true matrix: php: ['8.1', '8.2', '8.3'] name: PHP ${{ matrix.php }} steps: - name: Checkout uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: curl, libxml, mbstring, mcrypt coverage: none # - name: Validate composer.json and composer.lock # run: composer validate --strict # - name: Cache Composer packages # id: composer-cache # uses: actions/cache@v3 # with: # path: vendor # key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} # restore-keys: | # ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-progress --no-suggest - name: Copy environment file run: cp .env.example .env - name: Run test suite run: vendor/bin/phpunit