Add more dependency overrides

This commit is contained in:
Simon Binder 2020-11-20 18:14:39 +01:00
parent 45f11fb737
commit a5ca7e745f
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
4 changed files with 12 additions and 6 deletions

View File

@ -27,7 +27,7 @@ jobs:
- run: dart analyze --fatal-infos --fatal-warnings - run: dart analyze --fatal-infos --fatal-warnings
working-directory: moor/ working-directory: moor/
# build, test and upload coverage # build, test and upload coverage
- run: dart build_runner build - run: dart run build_runner build
working-directory: moor working-directory: moor
- run: dart --no-sound-null-safety test --coverage=coverage - run: dart --no-sound-null-safety test --coverage=coverage
working-directory: moor working-directory: moor
@ -42,6 +42,8 @@ jobs:
# setup # setup
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: cedx/setup-dart@v2 - uses: cedx/setup-dart@v2
with:
release-channel: beta
- run: dart pub upgrade - run: dart pub upgrade
working-directory: moor_generator working-directory: moor_generator
# analysis # analysis
@ -79,6 +81,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: cedx/setup-dart@v2 - uses: cedx/setup-dart@v2
with:
release-channel: beta
- run: sudo apt-get install -y libsqlite3-dev - run: sudo apt-get install -y libsqlite3-dev
name: Install sqlite3 for tests name: Install sqlite3 for tests
- run: tool/misc_integration_test.sh - run: tool/misc_integration_test.sh

View File

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

View File

@ -24,3 +24,4 @@ dependency_overrides:
# todo: Remove after built_value supports analyzer ^0.40 # todo: Remove after built_value supports analyzer ^0.40
analyzer: 0.40.4 analyzer: 0.40.4
convert: ^3.0.0-nullsafety

View File

@ -4,14 +4,14 @@ EXIT_CODE=0
pushd extras/integration_tests/vm pushd extras/integration_tests/vm
echo "Running integration tests with moor_ffi & VM" echo "Running integration tests with moor_ffi & VM"
pub upgrade dart pub upgrade
pub run test || EXIT_CODE=$? dart test || EXIT_CODE=$?
popd popd
pushd extras/with_built_value pushd extras/with_built_value
echo "Running build runner in with_built_value" echo "Running build runner in with_built_value"
pub upgrade dart pub upgrade
pub run build_runner build --delete-conflicting-outputs || EXIT_CODE=$? dart run build_runner build --delete-conflicting-outputs || EXIT_CODE=$?
popd popd
exit $EXIT_CODE exit $EXIT_CODE