mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
Merge branch 'master' into better-bucket-name
This commit is contained in:
commit
f977193fae
|
@ -11,7 +11,7 @@ steps:
|
|||
- name: Run Tests
|
||||
commands:
|
||||
- ./ci.py --ci-run-tests
|
||||
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-Flutter-App -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"
|
||||
# - sonar-scanner -Dsonar.projectKey=SelfPrivacy-Flutter-App -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"
|
||||
environment:
|
||||
SONARQUBE_TOKEN:
|
||||
from_secret: SONARQUBE_TOKEN
|
||||
|
|
3
ci.py
3
ci.py
|
@ -179,7 +179,8 @@ def ci_build_apk():
|
|||
"&& flutter build apk --flavor nightly")
|
||||
|
||||
def ci_run_tests():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "flutter test",
|
||||
podman_online(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle /tmp/flutter_pub_cache",
|
||||
"&& flutter test",
|
||||
"&& flutter test --machine --coverage > tests.output")
|
||||
|
||||
# Arguments
|
||||
|
|
Loading…
Reference in a new issue