Fix new errors from GitHub actions

This commit is contained in:
Simon Binder 2020-11-20 18:25:53 +01:00
parent a5ca7e745f
commit 9e60acfe18
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
4 changed files with 13 additions and 5 deletions

View File

@ -27,7 +27,7 @@ jobs:
- run: dart analyze --fatal-infos --fatal-warnings
working-directory: moor/
# build, test and upload coverage
- run: dart run build_runner build
- run: dart run build_runner build --delete-conflicting-outputs
working-directory: moor
- run: dart --no-sound-null-safety test --coverage=coverage
working-directory: moor

View File

@ -52,3 +52,4 @@ dependency_overrides:
path: ../sqlparser
moor:
path: ../moor
convert: ^3.0.0-nullsafety

View File

@ -21,6 +21,9 @@ void main() {
try {
library = open.openSqlite();
// Some platforms have sqlite3, but no sqlite3_keyword_count
library.lookup('sqlite3_keyword_count');
} on dynamic {
skip = 'sqlite3 is not available in test environment';
}

View File

@ -1,8 +1,10 @@
#!/usr/bin/env bash
EXIT_CODE=0
cd moor
echo $(pwd)
pub upgrade
pub upgrade || EXIT_CODE=$?
cd ..
#cd moor_flutter
@ -12,15 +14,17 @@ cd ..
cd moor_generator
echo $(pwd)
pub upgrade
pub upgrade || EXIT_CODE=$?
cd ..
cd sqlparser
echo $(pwd)
pub upgrade
pub upgrade || EXIT_CODE=$?
cd ..
#cd moor_ffi
#echo $(pwd)
#flutter packages upgrade
#cd ..
#cd ..
exit $EXIT_CODE