Compare commits

..

1 Commits

Author SHA1 Message Date
c14ae9588f ci: Instrumentation tests coverage in ci.
Some checks failed
Check PR code / BuildAndTestAndCoverage (pull_request) Failing after 2m23s
2025-03-26 10:58:10 +01:00

View File

@ -28,23 +28,13 @@ jobs:
- name: run selfoss
run: |
docker compose -f .gitea/workflows/assets/docker-compose.yml up -d
# https://github.com/ReactiveCircus/android-emulator-runner/issues/385
- name: Kill crashpad_handler processes
if: always()
run: |
pkill -SIGTERM crashpad_handler || true
sleep 5
pkill -SIGKILL crashpad_handler || true
- name: Change url until I find a better way to do it
run: |
sed -i "s/val defaultUrl = \"http:\/\/10\.0\.2\.2\:8888\"/val defaultUrl = \"http:\/\/172\.17\.0\.1\:8888\"/g" ./androidApp/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/android/CommonTests.kt
- name: AVD kedavra
run: |
avdmanager list device
- name: Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
api-level: 35
profile: pixel_7a
script: |
./gradlew androidApp:clearScreenshotsTask || true