-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI only testing with the legacy event system adapter
From #4666 all CI jobs have been running with the legacy event system. We were defaulting the `legacy` parameter to `0`, which we copied over to the `USE_LEGACY_EVENTS` environment variable. However, the test suite was checking for the mere existence of the environment variable to select the legacy adapter and not for an actual `1` value. We are now: - Renaming the `legacy` parameter to `legacy_events` to be clearer. - Making the parameter a boolean one, defaulting to false. - Checking that `USE_LEGACY_EVENTS` is the string `"true"` before selecting the legacy adapter. - Using the legacy adapter for the job on Ruby 2.7 & Rails 6.0. - Adding `-legacy_events` to the job name when selected. (cherry picked from commit f109039)
- Loading branch information
1 parent
88592ef
commit 3338e66
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters