xref: /plugin/combo/vendor/salesforce/handlebars-php/.github/workflows/ci.yml (revision 04fd306c7c155fa133ebb3669986875d65988276)
1name: PHPUnit
2
3on: [push, pull_request]
4
5jobs:
6  build:
7    name: Run tests on ${{ matrix.php }}
8    runs-on: ubuntu-latest
9
10    strategy:
11      matrix:
12        php: [ '7.4', '8.0', '8.1', '8.2' ]
13
14    steps:
15      - name: Checkout
16        uses: actions/checkout@v3
17
18      - name: Setup PHP
19        uses: shivammathur/setup-php@v2
20        with:
21          php-version: ${{ matrix.php }}
22
23      - name: Composer Install
24        run: composer install
25
26      - name: Run Tests
27        run: vendor/bin/phpunit
28