Skip to content

Commit 8499f59

Browse files
fix(ci): PHP profiler language tests YAML invalid (#4004)
1 parent 6b35d5b commit 8499f59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.gitlab/generate-profiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@
170170
- php -v
171171
# Fail loudly if the profiler did not load: otherwise the language tests
172172
# would run profiler-less and pass, giving a false green.
173-
- php -m | grep -qx 'datadog-profiling' || { echo 'ERROR: datadog-profiling extension is not loaded'; exit 1; }
173+
- php -m | grep -qx 'datadog-profiling' || { echo 'ERROR datadog-profiling extension is not loaded'; exit 1; }
174174
- cat "${XFAIL_LIST}" profiling/tests/php-language-xfail.list > /tmp/profiler-php-language-xfail.list
175-
- if php -r 'exit(PHP_VERSION_ID < 80400 ? 0 : 1);'; then cat profiling/tests/php-language-xfail-pre84.list >> /tmp/profiler-php-language-xfail.list; fi
175+
- "if php -r 'exit(PHP_VERSION_ID < 80400 ? 0 : 1);'; then cat profiling/tests/php-language-xfail-pre84.list >> /tmp/profiler-php-language-xfail.list; fi"
176176
- export XFAIL_LIST=/tmp/profiler-php-language-xfail.list
177177
- .gitlab/run_php_language_tests.sh

0 commit comments

Comments
 (0)