Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore test workflows #183

Merged
merged 7 commits into from
Jan 23, 2025
Merged

Restore test workflows #183

merged 7 commits into from
Jan 23, 2025

Conversation

agrzegorzewski
Copy link
Contributor

@agrzegorzewski agrzegorzewski commented Jan 22, 2025

Goal

This PR fixes issues in the testing workflow and removes depreciation warnings for PHP 8.4

Changeset

The minimum Symfony version has been moved to 5. Symfony 4 is way past EOL and is no longer officially supported.
In the Maze Runner workflow, the version matrix was updated to test a broader spectrum of PHP versions.
The matrix was expanded to test against PHP 8.4 in the unit test workflow.

The is null step for checking the header no longer exists. In Maze Runner 8 this step was renamed to is not present. Due to the upgrade of Maze Runner, this change was necessary.

The OOM tests were changed to no longer look at the response from the Symfony server and only look if the event was reported to BugSnag. This response is irrelevant to testing BugSnag.

In the Symfony 6 test fixture, the memory_limit_increase BugSnag variable was set to 10 MB to allow for the sending of the crash. A similar thing was done to the Symfony 5 fixture, where the limit set by the OOM test was increased to 10MB. It's the same approach as the one used in bugsnag-laravel to fix a similar issue.

Testing

All tests now pass

@tomlongridge tomlongridge self-requested a review January 23, 2025 15:46
@tomlongridge tomlongridge changed the base branch from master to next January 23, 2025 15:48
@agrzegorzewski agrzegorzewski merged commit 8b047a8 into next Jan 23, 2025
129 checks passed
@agrzegorzewski agrzegorzewski deleted the fix/tests branch January 23, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants