Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabas5532 committed Apr 18, 2024
1 parent f5dbb76 commit 2b8e844
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ jobs:
run: flutter pub run build_runner build

- name: Test
run: flutter test --coverage
run: flutter test --coverage --exclude-tags=api

- name: Coverage clean-up
run: >
Expand Down
2 changes: 1 addition & 1 deletion frontend/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -eo pipefail

flutter test
flutter test --exclude-tags=api
flutter analyze
dart format -o none --set-exit-if-changed lib test
19 changes: 19 additions & 0 deletions frontend/test/firmware_api_test/firmware_api_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

@Tags(['api'])
library;

Expand Down
19 changes: 19 additions & 0 deletions frontend/test/firmware_api_test/util.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'dart:io';

import 'package:esp_softap_provisioning/esp_softap_provisioning.dart';
Expand Down

0 comments on commit 2b8e844

Please sign in to comment.