Skip to content

remove circleci badge #29

remove circleci badge

remove circleci badge #29

Workflow file for this run

name: CI
on: [push, pull_request]
env:
php-options: -C -d opcache.enable=0 -d zend.exception_ignore_args=0
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
php: ['8.0', '8.1', '8.2', '8.3']
sapi: ['php', 'php-cgi']
fail-fast: false
name: PHP ${{ matrix.php }}/${{ matrix.sapi }} tests on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: composer install --no-progress --prefer-dist
- run: vendor/bin/tester -C test/test.php -p ${{ matrix.sapi }} -s ${{ env.php-options }}
- run: cd .. && transit-php/bin/transit-format