-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add integration tests to the CI #1537
Conversation
There are useful to keep the counter of remaining sessions after the test
The method is optional in the protocol but some swift code requires it. Stub it to make swift code work.
we already have a dedicated test plan for them
Codecov Report
@@ Coverage Diff @@
## develop #1537 +/- ##
============================================
+ Coverage 12.03% 51.23% +39.19%
============================================
Files 514 514
Lines 83966 83952 -14
Branches 35849 37412 +1563
============================================
+ Hits 10105 43011 +32906
+ Misses 73493 39837 -33656
- Partials 368 1104 +736
Continue to review full report at Codecov.
|
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.
Just one small comment re the github runner, otherwise lgtm 👍
jobs: | ||
integration-tests: | ||
name: Integration Tests | ||
runs-on: macos-11 |
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.
Element is using macos-12. We can start using that in the SDK as well but it's probably best done as a separate PR.
This PR brings a new test plan called AllWorkingTests where 482 out of 805 tests are disabled because:
We will be able to re-enable those tests later but let's start with a stable and working subset.
The main change is the tests code is to ensure that all
MXSession
s are closed at the end of each test. Else, we have this assert. FTR, this assert avoids to avoid remaining running MXSessions that slow down the tests to the death.The coverage jumped to 51.2%: