PHP Classes

File: .github/workflows/tests.yml

Recommend this page to a friend!
  Classes of Andrey Postal   PHP JSON Handler   .github/workflows/tests.yml   Download  
File: .github/workflows/tests.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP JSON Handler
Process value objects to convert to JSON format
Author: By
Last change:
Date: 14 days ago
Size: 1,129 bytes
 

Contents

Class file image Download
name: "Tests" on: push: branches: - 'main' pull_request: permissions: contents: read jobs: tests: name: "Package Tests" runs-on: ubuntu-20.04 continue-on-error: false steps: - name: "Checkout" uses: "actions/checkout@v4" with: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 100 - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: ini-values: "memory_limit=-1,display_errors=1" php-version: "8.3" coverage: "pcov" - name: "Install Dependencies" run: "composer install" - name: "Run Tests" run: "vendor/bin/phpunit --coverage-clover /tmp/${{ github.sha }}_coverage.xml" - uses: "actions/upload-artifact@v4" with: name: "tests_coverage" path: "/tmp/${{ github.sha }}_coverage.xml" retention-days: 1 - name: "Coveralls" uses: "coverallsapp/github-action@v2" with: github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} file: "/tmp/${{ github.sha }}_coverage.xml"