-
Notifications
You must be signed in to change notification settings - Fork 55
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
Still support the latest older versions of doctrines orm 2, dbal 3 and lexer 3 #97
base: master
Are you sure you want to change the base?
Still support the latest older versions of doctrines orm 2, dbal 3 and lexer 3 #97
Conversation
@alexander-schranz to run tests follow steps defined in the https://github.com/oroinc/doctrine-extensions/blob/master/.travis.yml#L27-L42 |
Can i help to get this done? |
@TNAJanssen I did not yet have any time to test if all test still runs. Please feel free to take this over and check all the test matrixes defined in the .travis.yml. For @x86demon I would recommend to switch to Github Actions as travis CI is not longer run here for the pull requests as I think travis did cancel open source support in August 2022 |
@alexander-schranz thank you for recommendation of Github Actions, I'll take a look. |
@x86demon the |
I made this request in the PR #99 |
We are currently stuck on |
Your code works with Lexer 2.0 and Lexer 3.0, however the tests fail because you need to change the annotation with tests/Oro/Tests/Connection/TestUtil.php: $config = Setup::createAnnotationMetadataConfiguration([$entitiesPath], true); should be changed to $config = Setup::createAnnotationMetadataConfiguration([$entitiesPath], true, null, null, false); tests/Oro/Entities/Foo.php: use Doctrine\ORM\Mapping as ORM; After these changes, I think we can merge into version 2.x. |
New CI here : #100 |
938c4c4
to
b19192d
Compare
b19192d
to
c47cbae
Compare
32bbbdb
to
e2775aa
Compare
e2775aa
to
99a02c2
Compare
I rebased and adopted the Test Matrix to show that even on the new prefer-lowest the tests seems to run as expected. The only upgrade now is |
The tests do not explicitly verify proper functioning with Doctrine version 3 or 2. In case they are blocked by another dependency. Wouldn't it be better to use the --with parameter of Composer? |
fda77d5
to
0c34feb
Compare
@Gwemox sure we could make a more complex CI but still I did have a quicklook at doctrine/dbal 2 support. But think that is something which we should skip. That are too many BC layer changes that it is worth. |
d503ace
to
331fc58
Compare
331fc58
to
c938bc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This make sure that the CI not accidently not longer tests dbal 3, orm 2 or lexer 2 when being run on --prefer-lowest
.
After lexer 3 support is merged. I rebased this branch to keep support for older doctrine versions.
TODO