File tree Expand file tree Collapse file tree 2 files changed +30
-4
lines changed
pkgs/native_synchronization Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 13
13
permissions : read-all
14
14
15
15
jobs :
16
- build :
16
+ analyze :
17
17
runs-on : ubuntu-latest
18
18
19
19
steps :
20
20
# These are the latest versions of the github actions; dependabot will
21
21
# send PRs to keep these up-to-date.
22
22
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
23
23
- uses : dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
24
+ with :
25
+ sdk : dev
24
26
25
27
- name : Install dependencies
26
28
run : dart pub get
27
-
29
+
28
30
- name : Verify formatting
29
31
run : dart format --output=none --set-exit-if-changed .
30
32
31
33
- name : Analyze project source
32
34
run : dart analyze --fatal-infos
33
35
34
- # - name: Run tests
35
- # run: dart test
36
+ test :
37
+ runs-on : ${{ matrix.os }}
38
+ strategy :
39
+ matrix :
40
+ os : [ubuntu-latest, macos-latest, windows-latest]
41
+ sdk : [dev]
42
+ steps :
43
+ - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
44
+ - uses : dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
45
+ with :
46
+ sdk : ${{ matrix.sdk }}
47
+
48
+ - name : Install dependencies
49
+ run : dart pub get
50
+
51
+ - name : Run tests
52
+ run : dart test
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2
+ // for details. All rights reserved. Use of this source code is governed by a
3
+ // BSD-style license that can be found in the LICENSE file.
4
+
5
+ import 'package:test/test.dart' ;
6
+
7
+ void main () {
8
+ test ('dummy' , () {});
9
+ }
You can’t perform that action at this time.
0 commit comments