File tree Expand file tree Collapse file tree 5 files changed +38
-6
lines changed Expand file tree Collapse file tree 5 files changed +38
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Run CI
2
+ on :
3
+ push :
4
+ schedule :
5
+ - cron : ' 0 0 * * 0' # every sunday at midnight
6
+
7
+ jobs :
8
+ test :
9
+ name : Test on ${{ matrix.os }} / ${{ matrix.dart }}
10
+ runs-on : ${{ matrix.os }}
11
+ defaults :
12
+ run :
13
+ working-directory : .
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ os : [ubuntu-latest, windows-latest, macos-latest]
18
+ dart : [stable, beta, dev]
19
+ steps :
20
+ - uses : cedx/setup-dart@v2
21
+ with :
22
+ release-channel : ${{ matrix.dart }}
23
+ - uses : actions/checkout@v2
24
+ - run : dart --version
25
+ - run : dart pub get
26
+ - run : dart run tool/run_ci.dart
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ Future<AppOptions> setup() async {
11
11
12
12
// Load client info
13
13
try {
14
- var sample = await client.read ('sample.local.config.yaml' );
14
+ var sample = await client.read (Uri . parse ( 'sample.local.config.yaml' ) );
15
15
16
16
try {
17
- var local = await client.read ('local.config.yaml' );
17
+ var local = await client.read (Uri . parse ( 'local.config.yaml' ) );
18
18
var map = (loadYaml (local) as Map ).cast <String , dynamic >();
19
19
var options = AppOptions .fromMap (map);
20
20
if (options.clientId == null ) {
Original file line number Diff line number Diff line change 1
1
name : tekartik_google_jsapi_picker
2
- version : 0.2.1
2
+ version : 0.2.2
3
3
description : file picker api
4
4
5
5
environment :
6
- sdk : ' >=2.4 .0-dev <3.0.0'
6
+ sdk : ' >=2.10 .0-0 <3.0.0'
7
7
8
8
dependencies :
9
9
tekartik_google_jsapi :
@@ -16,6 +16,7 @@ dependencies:
16
16
url : git://github.com/tekartik/common_utils.dart
17
17
ref : dart2
18
18
dev_dependencies :
19
+ dev_test :
19
20
tekartik_bootstrap :
20
21
git :
21
22
url : git://github.com/tekartik/bootstrap.dart
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ Future<AppOptions> setup() async {
10
10
11
11
// Load client info
12
12
try {
13
- var sample = await client.read ('sample.local.config.yaml' );
13
+ var sample = await client.read (Uri . parse ( 'sample.local.config.yaml' ) );
14
14
15
15
try {
16
- var local = await client.read ('local.config.yaml' );
16
+ var local = await client.read (Uri . parse ( 'local.config.yaml' ) );
17
17
var map = (loadYaml (local) as Map ).cast <String , dynamic >();
18
18
var options = AppOptions .fromMap (map);
19
19
if (options.clientId == null ) {
Original file line number Diff line number Diff line change
1
+ import 'package:dev_test/package.dart' ;
2
+
3
+ Future main () async {
4
+ await packageRunCi ('.' );
5
+ }
You can’t perform that action at this time.
0 commit comments