mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-09 00:15:58 +01:00
Remove -PallWarningsAsErrors now the build doesn't need the flag to compile.
This commit is contained in:
parent
ab3f3fba68
commit
9c404b5cab
3
.github/workflows/nightly.yml
vendored
3
.github/workflows/nightly.yml
vendored
@ -13,7 +13,6 @@ env:
|
|||||||
CI_GRADLE_ARG_PROPERTIES: >
|
CI_GRADLE_ARG_PROPERTIES: >
|
||||||
-Porg.gradle.jvmargs=-Xmx4g
|
-Porg.gradle.jvmargs=-Xmx4g
|
||||||
-Porg.gradle.parallel=false
|
-Porg.gradle.parallel=false
|
||||||
-PallWarningsAsErrors=false
|
|
||||||
jobs:
|
jobs:
|
||||||
# Build Android Tests [Matrix SDK]
|
# Build Android Tests [Matrix SDK]
|
||||||
build-android-test-matrix-sdk:
|
build-android-test-matrix-sdk:
|
||||||
@ -298,7 +297,7 @@ jobs:
|
|||||||
touch emulator.log
|
touch emulator.log
|
||||||
chmod 777 emulator.log
|
chmod 777 emulator.log
|
||||||
adb logcat >> emulator.log &
|
adb logcat >> emulator.log &
|
||||||
./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || (adb pull storage/emulated/0/Pictures/failure_screenshots && exit 1 )
|
./gradlew $CI_GRADLE_ARG_PROPERTIES connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || (adb pull storage/emulated/0/Pictures/failure_screenshots && exit 1 )
|
||||||
- name: Upload Test Report Log
|
- name: Upload Test Report Log
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: always()
|
if: always()
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: ./gradlew clean test $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false --stacktrace
|
run: ./gradlew clean test $CI_GRADLE_ARG_PROPERTIES --stacktrace
|
||||||
- name: Format unit test results
|
- name: Format unit test results
|
||||||
if: always()
|
if: always()
|
||||||
run: python3 ./tools/ci/render_test_output.py unit ./**/build/test-results/**/*.xml
|
run: python3 ./tools/ci/render_test_output.py unit ./**/build/test-results/**/*.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user