diff --git a/.drone.yml b/.drone.yml index 37c6c08d..d031c9c5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,6 @@ steps: - name: Run Tests commands: - ./ci.py --ci-run-tests - - flutter test --machine --coverage > tests.output - sonar-scanner -Dsonar.projectKey=SelfPrivacy-Flutter-App -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN" environment: SONARQUBE_TOKEN: diff --git a/ci.py b/ci.py index a4ac9634..fe2de71d 100755 --- a/ci.py +++ b/ci.py @@ -103,7 +103,8 @@ def ci_build_apk(): "&& flutter build apk --debug") def ci_run_tests(): - podman_online(f"{CONTAINER_HOME}/src", "flutter test") + podman_online(f"{CONTAINER_HOME}/src", "flutter test", + "&& flutter test --machine --coverage > tests.output") # Arguments