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

xapi-project / xen-api / 13105438084
80%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2025 02:52AM UTC
Jobs 1
Files 37
Run time 1min
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

31 Jan 2025 04:02PM UTC coverage: 78.248%. Remained the same
13105438084

push

github

web-flow
Refactor xapi-storage-script to use modules (#6191)

The `bind` function in xapi-storage-script has lots of implementaions
all over the place, making it hard to maintain. Use module abstractions
to separate different storage functions.

The tricky bit of this is the need to pass `version` and
`volume_script_dir` into each storage function calls, and these two
variables are determined at runtime. Hence functors are used for this
purpose, once the `volume_script_dir` is determined when `bind` is
called, pass this as inside the `RuntimeMeta` module to the relevant
implementations. The `version` global variable, however, is populated
when `Query.query` is called, so create an alias in the `RuntimeMeta`
module so that it can be used in the storage function implementations.

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13105438084.1 03 Feb 2025 02:52AM UTC 37
78.25
GitHub Action Run
Source Files on build 13105438084
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13105438084
  • 9be7780b on github
  • Prev Build on master (#13072395693)
  • Next Build on master (#13113263046)
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

© 2025 Coveralls, Inc