Skip to content

Reduce number of build jobs#4374

Merged
greg0ire merged 1 commit intodoctrine:2.12.xfrom
greg0ire:reduce-number-of-build-jobs
Oct 21, 2020
Merged

Reduce number of build jobs#4374
greg0ire merged 1 commit intodoctrine:2.12.xfrom
greg0ire:reduce-number-of-build-jobs

Conversation

@greg0ire
Copy link
Copy Markdown
Member

Q A
Type improvement
BC Break no
Fixed issues n/a

Summary

Test the newest version, the oldest version, and versions for which we
have version-specific code.
This is based on platform classes that have a version number in their
name.

Test the newest version, the oldest version, and versions for which we
have version-specific code.
This is based on platform classes that have a version number in their
name.
@greg0ire greg0ire added the CI label Oct 20, 2020
@@ -178,13 +178,7 @@ jobs:
- "7.4"
postgres-version:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that we have a class named lib/Doctrine/DBAL/Platforms/PostgreSQL91Platform.php in our codebase, should it be removed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if it's not used by the DBAL, it's part of the API, so removing it now would be a BC break. It's definitely removed in 3.0.x.

@greg0ire
Copy link
Copy Markdown
Member Author

https://www.githubstatus.com/ says now is not the best time to work on this 😅

@greg0ire greg0ire requested a review from morozov October 20, 2020 19:33
@greg0ire greg0ire closed this Oct 21, 2020
@greg0ire greg0ire reopened this Oct 21, 2020
@greg0ire
Copy link
Copy Markdown
Member Author

This results in 12 fewer checks :)

@@ -178,13 +178,7 @@ jobs:
- "7.4"
postgres-version:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if it's not used by the DBAL, it's part of the API, so removing it now would be a BC break. It's definitely removed in 3.0.x.

@morozov
Copy link
Copy Markdown
Member

morozov commented Oct 21, 2020

@greg0ire please see if it's possible to optimize it even further by not testing all platform versions with PHP 7.3 as it's done for PHP 8 in #4361. I see, it's already like that.

@greg0ire greg0ire added this to the 2.12.0 milestone Oct 21, 2020
@greg0ire greg0ire merged commit 7b5d241 into doctrine:2.12.x Oct 21, 2020
@greg0ire greg0ire deleted the reduce-number-of-build-jobs branch October 21, 2020 19:15
rgrellmann pushed a commit to Rossmann-IT/dbal that referenced this pull request Mar 7, 2021
Release [2.12.0](https://github.com/doctrine/dbal/milestone/82)

2.12.0
======

- Total issues resolved: **1**
- Total pull requests resolved: **7**
- Total contributors: **5**

Documentation,Static Analysis
-----------------------------

 - [4376: Configuration should not be internal](doctrine#4376) thanks to @BenMorel

CI
--

 - [4374: Reduce number of build jobs](doctrine#4374) thanks to @greg0ire
 - [4365: Fail on extension / tool installation failure](doctrine#4365) thanks to @greg0ire

Bug,Static Analysis
-------------------

 - [4373: Psalm fails on release commits](doctrine#4373) thanks to @morozov

Documentation,Error Handling
----------------------------

 - [4362: Adds exception thrown by execute() method](doctrine#4362) thanks to @toby-griffiths

CI,PHP
------

 - [4361: Test all extensions with PHP8](doctrine#4361) thanks to @greg0ire

PHP
---

 - [4347: &doctrine#91;2.12&doctrine#93; PHP 8 compatibility](doctrine#4347) thanks to @derrabus

# gpg: Signature made Thu Oct 22 20:29:24 2020
# gpg:                using DSA key 1BEDEE0A820BC30D858F9F0C2C3A645671828132
# gpg: Can't check signature: No public key
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants