From c70ca7f57bb40c2807e0149156be9b305c743321 Mon Sep 17 00:00:00 2001 From: marc tobias Date: Mon, 4 Jul 2022 23:52:36 +0200 Subject: [PATCH] In tests for PHP 8 disable Just-in-time, it conflicts with tools that determine coverage --- .github/workflows/ci-tests.yml | 1 + test/python/tools/test_exec_utils.py | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index e3a01aa0..53b76a03 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -70,6 +70,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: phpunit, phpcs, composer + ini-values: opcache.jit=disable - uses: actions/setup-python@v2 with: diff --git a/test/python/tools/test_exec_utils.py b/test/python/tools/test_exec_utils.py index 78650180..26ea92b2 100644 --- a/test/python/tools/test_exec_utils.py +++ b/test/python/tools/test_exec_utils.py @@ -122,7 +122,13 @@ class TestRunApiScript: @staticmethod def test_fail_on_error_output(tmp_path): - (tmp_path / 'website' / 'bad.php').write_text("