github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/.github/workflows/test-php.yml (about)

     1  name: Run PHP Tests
     2  on: [push]
     3  jobs:
     4    phpunit:
     5      runs-on: ubuntu-latest
     6      steps:
     7        - uses: actions/checkout@v3
     8        - name: Build
     9          run: |
    10            npm install
    11            npm run generate.php
    12        - uses: php-actions/composer@v6
    13          with:
    14            php_version: '7.4'
    15            working_dir: ./clients/php
    16        - uses: php-actions/phpunit@v3
    17          with:
    18            php_version: '7.4'
    19            version: '7.4'
    20            configuration: ./clients/php/phpunit.xml.dist