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.
17 lines
607 B
17 lines
607 B
#!/bin/bash |
|
set -euxo pipefail |
|
cd "$(dirname "$0")/.." |
|
|
|
rm -rf /tmp/nextcloud-neon |
|
mkdir -p /tmp/nextcloud-neon |
|
|
|
( |
|
cd packages/nextcloud |
|
fvm dart test "$@" |
|
|
|
# The coverage used to work, but due to some change it's broken right now |
|
#rm coverage -rf |
|
#fvm dart run coverage:test_with_coverage --function-coverage --branch-coverage "$@" |
|
#lcov --remove coverage/lcov.info "$(pwd)/lib/src/clients/**/model/*" "$(pwd)/lib/src/clients/**/auth/*" "$(pwd)/lib/src/clients/common/*" "$(pwd)/lib/src/clients/**/api_client.dart" -o coverage/filtered.info |
|
#genhtml coverage/filtered.info -o coverage/html |
|
)
|
|
|