-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Execute docker dependent tests with github actions #36647
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
Conversation
0d0e2c1
to
52a84c5
Compare
Cool thanks. |
@nicolas-grekas sounds good. Regarding 7.1 the phpunit run fails with:
|
We skip a few deprecations by default: but the logic is this file doesn't reach this line currently. (I wish Doctrine could fix its own deprecations, but that's another story...) |
src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
Outdated
Show resolved
Hide resolved
6f0c3bd
to
8258cf9
Compare
Rebased against 4.4 and applied feedback:
Left to do:
|
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.
Im happy with this PR. I just had some minor comments
4c1cdde
to
d710c1b
Compare
@Nyholm thank you so much for the review. Vulcain tests are now migrated. They're skipped on 4.4 however. This PR is now ready for a final review & merge. |
@nicolas-grekas it seems that some tests on Travis are failing, as they're not run against code in this branch? https://travis-ci.org/github/symfony/symfony/jobs/682876413#L8162 The same branch passes on my account: https://travis-ci.org/github/jakzal/symfony/builds/682876394 |
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.
some tests on Travis are failing, as they're not run against code in this branch
Correct. This will be fixed once we've merged up.
Very impressive work @jakzal! |
Thank you @jakzal. |
@jakzal could you please have a look at master now? See this change: We'd need to add tests for Messenger SQS, couchbase and kafka. |
on it |
…ns (jakzal) This PR was merged into the 5.0 branch. Discussion ---------- [5.0] Use PHP 7.2 minimum in tests run with github actions | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Re #36647 | License | MIT | Doc PR | - Commits ------- 8b386f2 Use PHP 7.2 minimum in tests run with github actions
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.directory }} | ||
key: ${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} |
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.
there is no composer.lock
in this repo.
…ranch (jakzal) This PR was merged into the 5.1-dev branch. Discussion ---------- Configure services additionally required by the master branch | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Re #36647 | License | MIT | Doc PR | - Additionally run tests for: * couchbase * sqs * kafka * mongodb (although currently skipped due to #36702) Before: Tests: 1893, Assertions: 5178, Skipped: 105. After: Tests: 2042, Assertions: 5407, Skipped: 120. Commits ------- dc7ac57 Configure services additionally required by the master branch
This PR was merged into the 3.4 branch. Discussion ---------- [Lock][Cache] Fix Redis tests | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | / | License | MIT | Doc PR | / In branch 3.4, travis started a redis-server container and tests run correctly. Starting from 4.4, the travis test suite don't start the server anymore, which is not an issue for 4.4's tests because tests are skiped. The issue is when branch 4.4 run the 3.4's test suite to check if component changes in 4.4 does not affect 3.4. in that case, the 3.4 tests suite is run without redise-server. see https://travis-ci.org/github/symfony/symfony/jobs/711062047 for example This PR replace the error handler (didn't worked) by catching the exception in a similar way than #36647 Commits ------- f524c85 Fix Redis tests
integration
group for all tests that depend on docker servicesintegration
group on Travis, but make sure tests that depend on docker services are skipped properly