mirror of https://github.com/AMT-Cheif/drift.git
Fix new errors from GitHub actions
This commit is contained in:
parent
a5ca7e745f
commit
9e60acfe18
|
@ -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
|
||||
|
|
|
@ -52,3 +52,4 @@ dependency_overrides:
|
|||
path: ../sqlparser
|
||||
moor:
|
||||
path: ../moor
|
||||
convert: ^3.0.0-nullsafety
|
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue