Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Oct 25, 2024
1 parent cba4c57 commit ba399bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: test coverage
run: |
cd "${{github.workspace}}\packages\dartcv"
Expand Down
4 changes: 3 additions & 1 deletion packages/dartcv/test/dnn/dnn_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ void main() async {
expect(blob.isEmpty, false);
});

test("cv.getAvailableBackends, getAvailableTargets", () {
test("cv.getAvailableBackends, getAvailableTargets", onPlatform: {
"windows": const Skip("github actions does not support vulkan"),
}, () {
cv.enableModelDiagnostics(true);
final backends = cv.getAvailableBackends();
expect(backends, isNotEmpty);
Expand Down

0 comments on commit ba399bf

Please sign in to comment.