Skip to content

Commit

Permalink
Add test CI (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupi007 authored Nov 4, 2024
1 parent 4e783f2 commit e43ecf3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ jobs:
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run format-check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run test
7 changes: 6 additions & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ packages:
- packages/**

scripts:
format-check: melos exec dart format . --set-exit-if-changed
format-check:
run: melos exec dart format . --set-exit-if-changed
description: "Run dart format in all packages"
test:
run: melos exec dart test .
description: "Run dart test in all packages"
11 changes: 0 additions & 11 deletions packages/sane/test/sane_backend_test.dart

This file was deleted.

7 changes: 7 additions & 0 deletions packages/sane/test/sane_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import 'package:test/test.dart';

void main() {
group('Void group of tests', () {
test('Void test', () {});
});
}

0 comments on commit e43ecf3

Please sign in to comment.