Skip to content

fix php test

fix php test #1361

Workflow file for this run

name: Run PHP Tests
on: [push]
jobs:
phpunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
npm install
npm run generate.php
- uses: php-actions/composer@v6
with:
php_version: '7.4'
working_dir: ./clients/php
- uses: php-actions/phpunit@v3
with:
php_version: '7.4'
version: '7.4'
configuration: ./clients/php/phpunit.xml.dist
- name: License check
uses: phrase/actions/lawa-ci@v1
with:
github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }}
decisions-file: .license-decisions.yml
working-directory: clients/php
package-managers: composer