friday-ai / friday

Friday is your open-source home automation assistant.
MIT License
1 stars 1 forks source link

Dev plugins #114

Closed MathieuAndrade closed 8 months ago

github-actions[bot] commented 9 months ago

Unit Test Results

    1 files  ±  0  163 suites  +8   1m 15s :stopwatch: +54s 542 tests +25  541 :heavy_check_mark: +24  0 :zzz: ±0  1 :x: +1  543 runs  +25  542 :heavy_check_mark: +24  0 :zzz: ±0  1 :x: +1 

For more details on these failures, see this check.

Results for commit 6c115db6. ± Comparison against base commit 98fc2fd6.

This pull request removes 5 and adds 30 tests. Note that renamed tests count towards both. ``` admin should have access to delete a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to delete a plugin guest should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id guest should't have access to delete a plugin habitant should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id habitant should't have access to delete a plugin should delete a plugin ‑ DELETE /api/v1/plugin/:id should delete a plugin should not found plugin to delete ‑ DELETE /api/v1/plugin/:id should not found plugin to delete ``` ``` admin should have access to install a plugin ‑ POST /api/v1/plugin admin should have access to install a plugin admin should have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id admin should have access to restart a plugin admin should have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id admin should have access to stop a plugin admin should have access to uninstall a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to uninstall a plugin guest should't have access to install a plugin ‑ POST /api/v1/plugin guest should't have access to install a plugin guest should't have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id guest should't have access to restart a plugin guest should't have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id guest should't have access to stop a plugin guest should't have access to uninstall a plugin ‑ DELETE /api/v1/plugin/:id guest should't have access to uninstall a plugin habitant should't have access to install a plugin ‑ POST /api/v1/plugin habitant should't have access to install a plugin habitant should't have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id habitant should't have access to restart a plugin … ```
github-actions[bot] commented 8 months ago

Unit Test Results

    1 files  ±  0  169 suites  +14   2m 11s :stopwatch: + 1m 50s 556 tests +39  554 :heavy_check_mark: +37  0 :zzz: ±0  2 :x: +2  557 runs  +39  555 :heavy_check_mark: +37  0 :zzz: ±0  2 :x: +2 

For more details on these failures, see this check.

Results for commit 7e2d0217. ± Comparison against base commit 98fc2fd6.

This pull request removes 5 and adds 44 tests. Note that renamed tests count towards both. ``` admin should have access to delete a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to delete a plugin guest should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id guest should't have access to delete a plugin habitant should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id habitant should't have access to delete a plugin should delete a plugin ‑ DELETE /api/v1/plugin/:id should delete a plugin should not found plugin to delete ‑ DELETE /api/v1/plugin/:id should not found plugin to delete ``` ``` admin should have access to install a plugin ‑ POST /api/v1/plugin admin should have access to install a plugin admin should have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id admin should have access to restart a plugin admin should have access to restart all plugins of a satellite ‑ PATCH /api/v1/satellite/restart/plugins/:id admin should have access to restart all plugins of a satellite admin should have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id admin should have access to stop a plugin admin should have access to stop all plugins of a satellite ‑ PATCH /api/v1/satellite/stop/plugins/:id admin should have access to stop all plugins of a satellite admin should have access to uninstall a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to uninstall a plugin guest should't have access to install a plugin ‑ POST /api/v1/plugin guest should't have access to install a plugin guest should't have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id guest should't have access to restart a plugin guest should't have access to restart all plugins of a satellite ‑ PATCH /api/v1/satellite/restart/plugins/:id guest should't have access to restart all plugins of a satellite guest should't have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id guest should't have access to stop a plugin … ```
github-actions[bot] commented 8 months ago

Unit Test Results

    1 files  ±  0  169 suites  +14   2m 8s :stopwatch: + 1m 47s 556 tests +39  556 :heavy_check_mark: +39  0 :zzz: ±0  0 :x: ±0  557 runs  +39  557 :heavy_check_mark: +39  0 :zzz: ±0  0 :x: ±0 

Results for commit 986b87a8. ± Comparison against base commit 98fc2fd6.

This pull request removes 5 and adds 44 tests. Note that renamed tests count towards both. ``` admin should have access to delete a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to delete a plugin guest should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id guest should't have access to delete a plugin habitant should't have access to delete a plugin ‑ DELETE /api/v1/plugin/:id habitant should't have access to delete a plugin should delete a plugin ‑ DELETE /api/v1/plugin/:id should delete a plugin should not found plugin to delete ‑ DELETE /api/v1/plugin/:id should not found plugin to delete ``` ``` admin should have access to install a plugin ‑ POST /api/v1/plugin admin should have access to install a plugin admin should have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id admin should have access to restart a plugin admin should have access to restart all plugins of a satellite ‑ PATCH /api/v1/satellite/restart/plugins/:id admin should have access to restart all plugins of a satellite admin should have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id admin should have access to stop a plugin admin should have access to stop all plugins of a satellite ‑ PATCH /api/v1/satellite/stop/plugins/:id admin should have access to stop all plugins of a satellite admin should have access to uninstall a plugin ‑ DELETE /api/v1/plugin/:id admin should have access to uninstall a plugin guest should't have access to install a plugin ‑ POST /api/v1/plugin guest should't have access to install a plugin guest should't have access to restart a plugin ‑ PATCH /api/v1/plugin/restart/:id guest should't have access to restart a plugin guest should't have access to restart all plugins of a satellite ‑ PATCH /api/v1/satellite/restart/plugins/:id guest should't have access to restart all plugins of a satellite guest should't have access to stop a plugin ‑ PATCH /api/v1/plugin/stop/:id guest should't have access to stop a plugin … ```
codecov[bot] commented 8 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Files Coverage Δ
apps/server/src/api/routes/v1/plugin.ts 100.00% <100.00%> (+10.00%) :arrow_up:
apps/server/src/api/routes/v1/satellite.ts 87.87% <100.00%> (+2.69%) :arrow_up:
apps/server/src/core/plugin/plugin.install.ts 87.50% <100.00%> (+1.13%) :arrow_up:
apps/server/src/core/plugin/plugin.restart.ts 100.00% <100.00%> (ø)
apps/server/src/core/plugin/plugin.stop.ts 100.00% <100.00%> (ø)
apps/server/src/core/plugin/plugin.ts 100.00% <100.00%> (ø)
apps/server/src/core/plugin/plugin.uninstall.ts 100.00% <100.00%> (ø)
.../src/core/satellite/satellite.restartAllPlugins.ts 100.00% <100.00%> (ø)
...ver/src/core/satellite/satellite.stopAllPlugins.ts 100.00% <100.00%> (ø)
apps/server/src/core/satellite/satellite.ts 100.00% <100.00%> (ø)
... and 2 more

:loudspeaker: Thoughts on this report? Let us know!.

github-actions[bot] commented 8 months ago

Unit Test Results

    1 files  ±0  169 suites  ±0   2m 5s :stopwatch: ±0s 556 tests ±0  556 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  557 runs  ±0  557 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 83aff018. ± Comparison against base commit 83aff018.