Github actions improvement test

This commit is contained in:
ariskotsomitopoulos 2022-01-03 12:23:00 +02:00
parent c2183800d3
commit 5edc0506ce

View file

@ -67,6 +67,7 @@ jobs:
- name: Start synapse server
run: |
git clone -b develop https://github.com/matrix-org/synapse.git
ls
cd synapse
source env/bin/activate
pip install -e .
@ -76,16 +77,16 @@ jobs:
# pip install synapse matrix-synapse
# curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh --no-rate-limit \
# | sed s/127.0.0.1/0.0.0.0/g | bash
- name: Run integration tests on API ${{ matrix.api-level }}
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
#arch: x86_64
#disable-animations: true
# script: ./gradlew -PallWarningsAsErrors=false vector:connectedAndroidTest matrix-sdk-android:connectedAndroidTest
arch: x86
profile: Nexus 5X
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-build: 7425822
script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedCheck --stacktrace
# - name: Run integration tests on API ${{ matrix.api-level }}
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: ${{ matrix.api-level }}
# #arch: x86_64
# #disable-animations: true
# # script: ./gradlew -PallWarningsAsErrors=false vector:connectedAndroidTest matrix-sdk-android:connectedAndroidTest
# arch: x86
# profile: Nexus 5X
# force-avd-creation: false
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# emulator-build: 7425822
# script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedCheck --stacktrace