From bffea3b446c52bca583f3709eb2027cdbd71438e Mon Sep 17 00:00:00 2001 From: git-elliot Date: Wed, 15 Jan 2025 08:54:47 +0530 Subject: [PATCH] fix build command --- .github/workflows/flutter_test.yml | 2 +- test/widget_test.dart | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter_test.yml b/.github/workflows/flutter_test.yml index 4713623..f2c83cc 100644 --- a/.github/workflows/flutter_test.yml +++ b/.github/workflows/flutter_test.yml @@ -185,4 +185,4 @@ jobs: run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev - name: Build Linux if: ${{ (needs.changes.outputs.branch == 'dev') && (needs.changes.outputs.lib || needs.changes.outputs.test || needs.changes.outputs.linux || needs.changes.outputs.macos || needs.changes.outputs.windows || needs.changes.outputs.yaml ) }} - run: flutter build ${{ matrix.os == 'ubuntu' && 'Linux' || matrix.os }} \ No newline at end of file + run: flutter build ${{ matrix.os == 'ubuntu' && 'linux' || matrix.os }} \ No newline at end of file diff --git a/test/widget_test.dart b/test/widget_test.dart index a23e454..fedc21c 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -1,7 +1,9 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:vernet/main.dart'; +import 'package:vernet/values/globals.dart' as globals; Future main() async { + globals.testingActive = true; group('Widget test', () { testWidgets('My first widget test', (tester) async { // Build our app and trigger a frame.