A framework for building convergent cross-platform Nextcloud clients using Flutter.
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.

15 lines
400 B

#!/bin/bash
set -euxo pipefail
cd "$(dirname "$0")/.."
rm -rf /tmp/nextcloud-neon
mkdir -p /tmp/nextcloud-neon
(
cd packages/nextcloud
rm coverage -rf
fvm dart run coverage:test_with_coverage --function-coverage --branch-coverage -- --timeout 60s "$@"
lcov --remove coverage/lcov.info "$(pwd)/lib/src/**.g.dart" -o coverage/filtered.info
genhtml coverage/filtered.info -o coverage/html
)