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