Skip to content

fix: stop a failed usage-tracker call from fataling the thank-you page (2.0.9) #2

fix: stop a failed usage-tracker call from fataling the thank-you page (2.0.9)

fix: stop a failed usage-tracker call from fataling the thank-you page (2.0.9) #2

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '8.5']
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: ${{ matrix.php }}
- if: matrix.php == '7.2'
run: find . -name '*.php' -not -path './.git/*' -print0 | xargs -0 -n1 php -l
- run: php tests/run.php