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
415 B
15 lines
415 B
2 years ago
|
#!/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/nextcloud.openapi.g.dart" -o coverage/filtered.info
|
||
|
genhtml coverage/filtered.info -o coverage/html
|
||
|
)
|