Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ jobs:
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run init-integration-test-boilerplate
- run: melos run integration-test
env:
DEVICE: macos
- run: melos run integration-test -- -d macos

windows_integration_test:
runs-on: windows-latest
Expand All @@ -59,9 +57,7 @@ jobs:
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run init-integration-test-boilerplate
- run: melos run integration-test
env:
DEVICE: windows
- run: melos run integration-test -- -d windows

linux_integration_test:
runs-on: ubuntu-latest
Expand All @@ -73,9 +69,7 @@ jobs:
- name: Install dependencies for flutter integration test
run: sudo apt update && sudo apt-get install -y libglu1-mesa ninja-build clang cmake pkg-config libgtk-3-dev liblzma-dev
- run: melos run init-integration-test-boilerplate
- run: melos run integration-test
env:
DEVICE: linux
- run: melos run integration-test -- -d linux

ios_integration_test:
runs-on: macos-latest
Expand All @@ -94,9 +88,7 @@ jobs:
uses: Wandalen/wretry.action@v3
with:
attempt_limit: 5
command: melos run integration-test
env:
DEVICE: ${{ steps.start_simulator.outputs.udid }}
command: melos run integration-test -- -d ${{ steps.start_simulator.outputs.udid }}

android_integration_test:
runs-on: ubuntu-latest
Expand All @@ -118,4 +110,4 @@ jobs:
arch: x86_64
ram-size: 1024M
disk-size: 2048M
script: DEVICE=`flutter devices | grep android | tr ' ' '\n' | grep emulator-` melos run integration-test
script: melos run integration-test -- -d `flutter devices | grep android | tr ' ' '\n' | grep emulator-`
2 changes: 1 addition & 1 deletion examples/dart_only/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ dependencies:
native_toolchain_rust: ^1.0.7

dev_dependencies:
ffigen: ^22.0.0
ffigen: ^23.0.0
test: ^1.29.0
2 changes: 1 addition & 1 deletion examples/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
native_toolchain_rust: ^1.0.7

dev_dependencies:
ffigen: ^22.0.0
ffigen: ^23.0.0
flutter_test:
sdk: flutter
integration_test:
Expand Down
68 changes: 34 additions & 34 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ packages:
dependency: transitive
description:
name: cli_launcher
sha256: "96883f87648524292e24e2cc6a369fbdf64883473fe3e3ddadd3d857bf16a484"
sha256: d2dd1baf7ae4ff1550e731dcb8fe669a5c652903e833f75359c178222c44214e
url: "https://pub.dev"
source: hosted
version: "0.3.3+2"
version: "0.3.4"
cli_util:
dependency: transitive
description:
name: cli_util
sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c
sha256: "89b8801ba49f8b593fbf2d3e59efd0f566c46cd4ba6837ae2610c72b52a0f899"
url: "https://pub.dev"
source: hosted
version: "0.4.2"
version: "0.6.0"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -141,10 +141,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: "956a3de0725ca232ad353565a8290d3357592bf4250f6f298a185e2d949c5d3d"
sha256: ff89e37c19355194e279d26dafe8e4bece46c9ea63a30be4dc68214f5bc290d3
url: "https://pub.dev"
source: hosted
version: "1.15.1"
version: "1.16.0"
crypto:
dependency: transitive
description:
Expand All @@ -157,10 +157,10 @@ packages:
dependency: transitive
description:
name: dart_style
sha256: "82ade9fc4273f29ed673e33166944465225b4f7fc5d4aaef48605cc751c18fc1"
sha256: a0e4f65339b31eb6a9e6a12e14b4682a48d46fbc54a82f4a702396fbdbac63a7
url: "https://pub.dev"
source: hosted
version: "3.1.13"
version: "3.1.14"
fake_async:
dependency: transitive
description:
Expand All @@ -181,10 +181,10 @@ packages:
dependency: transitive
description:
name: ffigen
sha256: "31b2ca630cede89babbbf31688d20b735967c51bf60572b06ec16718e5a7f1ec"
sha256: "6f55d99ac1857fc063b58c3b31753df2bba417028ba98d30c6d625a385855064"
url: "https://pub.dev"
source: hosted
version: "22.0.0"
version: "23.0.0"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -212,10 +212,10 @@ packages:
dependency: transitive
description:
name: frontend_server_client
sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
sha256: "404dbf9bce29beafbe9dcb19219447b6f7d49900cd42b8d3b7af102b24508e25"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "4.1.0"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -342,10 +342,10 @@ packages:
dependency: "direct dev"
description:
name: melos
sha256: b40731f34d3aacb199641a9b4955e52a866b0b0bc93ffc5c8ff21bffc6593134
sha256: "140e51d7990b5134663e64b39e19d3b64ead16382e69127c205942c91e752b16"
url: "https://pub.dev"
source: hosted
version: "7.8.1"
version: "8.9.0"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -374,18 +374,18 @@ packages:
dependency: transitive
description:
name: mustache_template
sha256: c689b4d59176f8c7a2860aab765d205916aa5b06cfafff7613bfcc42fa996143
sha256: "17a8de9072575bb1a3237b90ed1f756b2189995b334df2ad12b7cdd76b13f3ce"
url: "https://pub.dev"
source: hosted
version: "2.0.5"
version: "2.0.6"
native_toolchain_c:
dependency: transitive
description:
name: native_toolchain_c
sha256: "9d233b6f2d9c52e1a2b5fbe70451d2c10ac674d3bb419d0ec8de14989d437c26"
sha256: "90eaad8059ebc2004a63810a4696ea9acdb02473e47ed3b6b3bafb100ac77e31"
url: "https://pub.dev"
source: hosted
version: "0.19.4"
version: "0.19.5"
node_preamble:
dependency: transitive
description:
Expand Down Expand Up @@ -414,18 +414,18 @@ packages:
dependency: transitive
description:
name: petitparser
sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675"
sha256: "2f1564aadb14215e478563b5406cb80729d022158c01dc50c96013c2f7eb4790"
url: "https://pub.dev"
source: hosted
version: "7.0.2"
version: "7.1.0"
platform:
dependency: transitive
description:
name: platform
sha256: a36d119c13416516a7b5913fbe8af8531e11633d784c550b2125f76c758524ec
sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984"
url: "https://pub.dev"
source: hosted
version: "3.2.0"
version: "3.1.6"
pool:
dependency: transitive
description:
Expand Down Expand Up @@ -462,10 +462,10 @@ packages:
dependency: transitive
description:
name: pub_updater
sha256: "739a0161d73a6974c0675b864fb0cf5147305f7b077b7f03a58fa7a9ab3e7e7d"
sha256: "3aadeb8c68d15ef9d117b36474ddcc543b48ae1e64f7dd71407da26df66bf7c8"
url: "https://pub.dev"
source: hosted
version: "0.5.0"
version: "0.6.0"
pubspec_parse:
dependency: transitive
description:
Expand Down Expand Up @@ -494,10 +494,10 @@ packages:
dependency: transitive
description:
name: shelf
sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12
sha256: e75e9cf311d7fd712048038cc17c25199c38536c20330d53e7db058b543d5a48
url: "https://pub.dev"
source: hosted
version: "1.4.2"
version: "1.4.3"
shelf_packages_handler:
dependency: transitive
description:
Expand All @@ -510,10 +510,10 @@ packages:
dependency: transitive
description:
name: shelf_static
sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3
sha256: "480504af9e5323899c5be26a4f6c2fc4437d50954d39842f0290f4ae733d57b4"
url: "https://pub.dev"
source: hosted
version: "1.1.3"
version: "1.2.0"
shelf_web_socket:
dependency: transitive
description:
Expand Down Expand Up @@ -635,10 +635,10 @@ packages:
dependency: transitive
description:
name: vector_math
sha256: f36f9f3be64c6198714492bb455c11056e33e2f85d9a0b676a48301e44fdcf47
sha256: "92b9910f66ed1057fd4da7b040ae7c74cafacf885bdc81be496928d5049b032d"
url: "https://pub.dev"
source: hosted
version: "2.4.2"
version: "2.4.3"
very_good_analysis:
dependency: "direct dev"
description:
Expand All @@ -651,10 +651,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "5f37239c4851efcef929cea7824e76df7f2f0970aef85d66bbc430afa40e72f0"
sha256: "89b11d62e1040ee681af3b4f1c97a803ecbf010c6e8b9c5896ee5b08c3bf7b78"
url: "https://pub.dev"
source: hosted
version: "15.3.0"
version: "15.4.0"
watcher:
dependency: transitive
description:
Expand Down Expand Up @@ -707,10 +707,10 @@ packages:
dependency: transitive
description:
name: xml
sha256: "67f0aff7be013d107995e9b75bf4e7f2c3ef2dfdb2c8e68024bba0a7fd5756a4"
sha256: "0fe8cc98946def31cbcbc8734aa4067031e6f65ea3a78a508060bfed2200bfeb"
url: "https://pub.dev"
source: hosted
version: "7.0.1"
version: "7.1.0"
yaml:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@ workspace:
- examples/flutter

dev_dependencies:
melos: ^7.8.1
melos: ^8.9.0
very_good_analysis: ^11.0.0

melos:
scripts:
test:
description: Run unit tests for a specific package in this project.
run: flutter test test
packageFilters:
dirExists: test
exec:
command: flutter test test
concurrency: 1
failFast: true

integration-test:
description: Run integration tests for a specific package in this project.
run: flutter test integration_test -d $DEVICE
packageFilters:
dirExists: integration_test
exec:
command: flutter test integration_test
concurrency: 1
failFast: true

init-integration-test-boilerplate:
description: Create integration test boilerplate for a specific package in this project.
run: flutter create .
packageFilters:
dirExists: integration_test
exec:
command: flutter create .
concurrency: 1
failFast: true
Loading