1name: Test
2inputs:
3  runTestsParameters:
4    default: ''
5    required: false
6  jitType:
7    default: 'disable'
8    required: false
9runs:
10  using: composite
11  steps:
12    - shell: bash
13      run: |
14        set -x
15        export SKIP_IO_CAPTURE_TESTS=1
16        export CI_NO_IPV6=1
17        sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
18          -d opcache.jit=${{ inputs.jitType }} \
19          -d opcache.jit_buffer_size=16M \
20          -j$(($(sysctl -n hw.ncpu) - 1)) \
21          -g FAIL,BORK,LEAK,XLEAK \
22          --no-progress \
23          --offline \
24          --show-diff \
25          --show-slow 1000 \
26          --set-timeout 120
27