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        export STACK_LIMIT_DEFAULTS_CHECK=1
18        sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
19          -d opcache.jit=${{ inputs.jitType }} \
20          -d opcache.jit_buffer_size=16M \
21          -j$(($(sysctl -n hw.ncpu) - 1)) \
22          -g FAIL,BORK,LEAK,XLEAK \
23          --no-progress \
24          --offline \
25          --show-diff \
26          --show-slow 1000 \
27          --set-timeout 120
28