You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
428 B
20 lines
428 B
#!/bin/bash |
|
set -euxo pipefail |
|
cd "$(dirname "$0")/.." |
|
source tool/common.sh |
|
|
|
./tool/build-dev-container.sh |
|
|
|
container_id="$(docker run --rm -d -p "80:80" "$(image_tag "dev:latest")")" |
|
function cleanup() { |
|
docker kill "$container_id" |
|
} |
|
trap cleanup EXIT |
|
|
|
( |
|
cd packages/app |
|
fvm flutter drive \ |
|
--driver=test_driver/integration_test.dart \ |
|
--target=integration_test/screenshot_test.dart \ |
|
--android-emulator |
|
)
|
|
|