Skip to content

ci: Add flutter-code-quality action #41

ci: Add flutter-code-quality action

ci: Add flutter-code-quality action #41

Triggered via pull request July 15, 2024 18:14
Status Failure
Total duration 2m 26s
Artifacts

pull-request.yml

on: pull_request
Deploy preview version of the example app on firebase
0s
Deploy preview version of the example app on firebase
Fit to window
Zoom out
Zoom in

Annotations

1 error
Code quality
✅ - Static analysis passed ⛔️ - 3 tests failed</br > <details><summary>See details</summary> <details><summary>ZdsDayPicker without any parameters</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following message was thrown:<br>Multiple exceptions (2) were detected during the running of the current test, and at least one was<br>unexpected.<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Select individual with deprecated initialSelectedDate</br></summary>`Test failed. See exception logs above.<br>The test description was: Select individual with deprecated initialSelectedDate`</details><details><summary>Select individual with initialSelectedDates</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: exactly one matching candidate<br> Actual: _TextWidgetFinder:<Found 0 widgets with text "Days": []><br> Which: means none were found but one was expected<br><br>When the exception was thrown, this was the stack:<br>#4 main.<anonymous closure> (file:///home/runner/work/zds_flutter/zds_flutter/test/day_picker_test.dart:39:5)<br><asynchronous suspension><br>#5 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183:15)<br><asynchronous suspension><br>#6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017:5)<br><asynchronous suspension><br><asynchronous suspension><br>(elided one frame from package:stack_trace)<br><br>This was caught by the test expectation on the following line:<br> file:///home/runner/work/zds_flutter/zds_flutter/test/day_picker_test.dart line 39<br>The test description was:<br> Select individual with initialSelectedDates<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details> </details> 📈 - Code coverage: 0.91% <br> <details><summary>See details</summary> <table> <tr><th>File Name</th><th>%</th><th>Passing?</th></tr> <tr><td>lib/src/components/atoms/absorb_pointer.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/avatar.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/back_button.dart</td><td>8.3%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/border_clipper.dart</td><td>7.1%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/button.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/card.dart</td><td>27.7%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/circle_icon_button.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/conditional_wrapper.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/dashed_line.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/expandable.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/floating_action_button.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/icon_text_button.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/index.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/interactive_viewer.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/label.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/notification.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/popover.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/selection_pills.dart</td><td>1.6%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/shake_animation.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/slidable_widget.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/components/atoms/speed_slider.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/src/utils/tools/frame_mixin.dart</td><td>0%</td><td>⛔️</td></tr><tr><td>lib/s