From 556bd6a5faf43f3e903116bec54506c57a92f5e9 Mon Sep 17 00:00:00 2001 From: Paul Kepinski Date: Mon, 4 Nov 2024 11:36:03 +0100 Subject: [PATCH] Add missing libsane-dev package to CI --- .github/workflows/ci.yml | 4 ++++ packages/sane/test/sane_test.dart | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ff0b54..8527011 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,5 +35,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 + - run: sudo apt update + - run: sudo apt install -y libsane-dev + env: + DEBIAN_FRONTEND: noninteractive - uses: bluefireteam/melos-action@v3 - run: melos run test diff --git a/packages/sane/test/sane_test.dart b/packages/sane/test/sane_test.dart index 60304d3..0081b25 100644 --- a/packages/sane/test/sane_test.dart +++ b/packages/sane/test/sane_test.dart @@ -1,7 +1,9 @@ +import 'package:sane/src/sane.dart'; import 'package:test/test.dart'; void main() { - group('Void group of tests', () { - test('Void test', () {}); + test('Sane init test', () { + final sane = Sane(); + expect(sane.init, returnsNormally); }); }