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

borisbu / OctoRelay / 5737008211
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 02 Aug 2023 09:17AM UTC
Jobs 18
Files 4
Run time 1s
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

pending completion
5737008211

push

github

web-flow
DNRY: Relay driver (#138)

* Sample relay driver.

* Changing the order of arguments in constructor.

* Making toggle() to return the new state.

* Making an import.

* Making toggle() argument optional.

* Add type to optional argument.

* Draft test for the driver constructor.

* Fix type of optional argument.

* Fix unused import.

* Constructed props assertions.

* Add serialization test.

* Testing close() method.

* Test for open().

* Ref: reusing toggle method for opening and closing.

* Ref: explainatory naming.

* Test for get_pin_state().

* Test for is_closed().

* Testing toggle() method without argument.

* Pin state assertions for toggle().

* Fix running the tests.

* Fixing get pin state assertions.

* Revert "Fixing get pin state assertions."

This reverts commit a0e75daf8.

* Check that GPIO is mocked.

* runtime patching of GPIO in driver test.

* Revert "runtime patching of GPIO in driver test."

This reverts commit d404b7496.

* Runtime patch for RPi.

* Revert "Runtime patch for RPi."

This reverts commit 383f4fa3c.

* Mocking within test class lifecycle methods.

* Revert "Mocking within test class lifecycle methods."

This reverts commit 308ff39d4.

* Common mocking of GPIO for all tests.

* Revert "Common mocking of GPIO for all tests."

This reverts commit 2c6bae554.

* Reusing mocked module (temp solution).

* No disabling warnings in main module init.

* Integrating the driver into on_after_startup method.

* Integrating the driver into API command LIST_ALL.

* Integrating the driver for GET_STATUS command.

* Fix lint.

* Integrating the driver into update_relay method.

* Integrating the driver into turn_off_pin and turn_on_pin methods.

* Integrating the driver into update_ui metho... (continued)

11 of 11 branches covered (100.0%)

Branch coverage included in aggregate %.

56 of 56 new or added lines in 2 files covered. (100.0%)

260 of 260 relevant lines covered (100.0%)

15.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.8-octoprint-1.9 - 5737008211.1 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
2 python-3.7-octoprint-1.6 - 5737008211.2 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
3 python-3.9-octoprint-1.6 - 5737008211.3 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
4 python-3.7-octoprint-1.8 - 5737008211.4 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
5 python-3.9-octoprint-1.9 - 5737008211.5 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
6 python-3.8-octoprint-1.8 - 5737008211.6 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
7 python-3.11-octoprint-1.9 - 5737008211.7 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
8 python-3.10-octoprint-1.9 - 5737008211.8 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
9 python-3.9-octoprint-1.8 - 5737008211.9 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
10 python-3.9-octoprint-1.7 - 5737008211.10 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
11 ui - 5737008211.11 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
12 python-3.9-octoprint-1.5 - 5737008211.12 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
13 python-3.8-octoprint-1.7 - 5737008211.13 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
14 python-3.7-octoprint-1.5 - 5737008211.14 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
15 python-3.7-octoprint-1.9 - 5737008211.15 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
16 python-3.8-octoprint-1.5 - 5737008211.16 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
17 python-3.8-octoprint-1.6 - 5737008211.17 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
18 python-3.7-octoprint-1.7 - 5737008211.18 02 Aug 2023 09:17AM UTC 0
100.0
GitHub Action Run
Source Files on build 5737008211
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5737008211
  • 6c6adfc8 on github
  • Prev Build on master (#5720880011)
  • Next Build on develop (#5737385921)
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