How to not fail on deprecation warnings

Created on 3 November 2024, 18 days ago

After a bit of searching I found out how to enable deprecation warnings in CI runs.
However, when I tried it out I discovered that any deprecation warnings during the tests cause the build to fail instead of passing with warnings, as I’d hoped (see the fourth of that MR’s pipelines).

Unfortunately, the documentation only explains how to make it fail on deprecations, which already seems to be the default (unless I have unwittingly made a customization in my module that caused this behavior).
Is there an easy way to make deprecation warnings during PHPUnit test runs just produce CI warnings, not cause the build to fail?

💬 Support request
Status

Active

Component

gitlab-ci

Created by

🇦🇹Austria drunken monkey Vienna, Austria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024