PHP Classes

File: .github/workflows/qa.yaml

Recommend this page to a friend!
  Classes of jawira   PlantUML client   .github/workflows/qa.yaml   Download  
File: .github/workflows/qa.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PlantUML client
Convert a UML diagram to an image using PlantUML
Author: By
Last change:
Date: 1 year ago
Size: 1,984 bytes
 

Contents

Class file image Download
name: Quality Assurance on: [ push, pull_request ] jobs: build: runs-on: ubuntu-latest strategy: matrix: php: [ 7.4,8.0,8.1 ] steps: - uses: actions/checkout@v2 - name: Cache Composer dependencies uses: actions/cache@v2 with: path: $HOME/.cache/composer key: ${{ runner.os }}-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} - name: Install dependencies uses: php-actions/composer@v5 with: php_version: ${{ matrix.php }} # https://github.com/PhpGt/Database/blob/master/.github/workflows/ci.yml - name: Archive build run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build-${{ matrix.php }}.tar ./ - name: Upload build archive for test runners uses: actions/upload-artifact@v2 with: name: build-artifact-${{ matrix.php }} path: /tmp/github-actions phpstan: runs-on: ubuntu-latest strategy: matrix: php: [ 7.4,8.0,8.1 ] needs: [ build ] steps: - uses: actions/download-artifact@v2 with: name: build-artifact-${{ matrix.php }} path: /tmp/github-actions - name: Extract build archive run: tar -xf /tmp/github-actions/build-${{ matrix.php }}.tar ./ - name: Phing Build uses: phingofficial/phing-github-action@main with: version: 3.0.0-rc1 targets: phpstan:analyze phpunit: runs-on: ubuntu-latest strategy: matrix: php: [ 7.4,8.0,8.1 ] needs: [ build ] steps: - uses: actions/download-artifact@v2 with: name: build-artifact-${{ matrix.php }} path: /tmp/github-actions - name: Extract build archive run: tar -xf /tmp/github-actions/build-${{ matrix.php }}.tar ./ - name: PHPUnit tests uses: php-actions/phpunit@v2 with: php_version: ${{ matrix.php }}