• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kivy / buildozer / 5984602626
0%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2023 11:53AM UTC
Jobs 8
Files 19
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Aug 2023 11:52AM UTC coverage: 45.015% (-1.1%) from 46.085%
5984602626

push

github

web-flow
Use buildops for file_exists and file_matches (#1670)

This is part of a larger refactor, to reduce the size and complexity of the Buildozer class.

* Remove `file_matches()` method from the Buildozer class.
* Change the singular reference to it in `android.py` to use the buildops function.
   * This raises the question: Will this be useful to other targets in the future, or should this be moved into the android target? Left for future refactors.

* Remove the `file_exists()` method from the Buildozer class.
* Change all the references to use the buildops function.
   * Note for consistency with the other buildop functions, buildops.file_exists() takes a single parameter rather than `*args` and doesn't join the path together. One client call needed to be changed to accommodate that.
   * Note that in several places, the code checks for the existence of *directories* with os.path.exists(). I did **not** change these over because:
     * Historically, the name as been **file**_exists().
     * With the join statement removed, this function doesn't add anything to calling `os.path.exists()` or `pathlib.Path.exists()`, so enforcing it on the code seemed counter-productive. I went with for consistency with existing code.
* Update mocks

448 of 1211 branches covered (0.0%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 4 files covered. (100.0%)

1385 of 2861 relevant lines covered (48.41%)

3.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5984602626.1 26 Aug 2023 11:53AM UTC 0
38.62
2 5984602626.2 26 Aug 2023 11:53AM UTC 0
39.78
3 5984602626.3 26 Aug 2023 11:53AM UTC 0
38.68
4 5984602626.4 26 Aug 2023 11:53AM UTC 0
38.62
5 5984602626.5 26 Aug 2023 11:54AM UTC 0
44.28
6 5984602626.6 26 Aug 2023 11:55AM UTC 0
45.28
7 5984602626.7 26 Aug 2023 11:56AM UTC 0
44.28
8 5984602626.8 26 Aug 2023 11:57AM UTC 0
44.28
Source Files on build 5984602626
Detailed source file information is not available for this build.
  • Back to Repo
  • 5165545e on github
  • Prev Build on master (#5983657674)
  • Next Build on master (#5990028375)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc