PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Packages of Michael Beck   XOOPS helpers   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS helpers
Helper class functions to use with XOOPS
Author: By
Last change:
Date: 11 days ago
Size: 1,553 bytes
 

Contents

Class file image Download
name: CI on: push: branches: [main, master] pull_request: branches: [main, master] workflow_dispatch: permissions: contents: read jobs: tests: name: PHP ${{ matrix.php }} - ${{ matrix.stability }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['8.2', '8.3', '8.4', '8.5'] stability: [prefer-stable] include: - php: '8.2' stability: prefer-lowest steps: - name: Checkout code uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: mbstring, intl, zip coverage: none - name: Install dependencies run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress - name: Validate composer.json run: composer validate --strict - name: Run tests run: composer test static-analysis: name: PHPStan runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: mbstring, intl coverage: none - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-progress - name: Validate composer.json run: composer validate --strict - name: Run PHPStan run: composer analyse -- --no-progress