Github actions improvement test
This commit is contained in:
parent
c2183800d3
commit
5edc0506ce
27
.github/workflows/integration.yml
vendored
27
.github/workflows/integration.yml
vendored
@ -67,6 +67,7 @@ jobs:
|
|||||||
- name: Start synapse server
|
- name: Start synapse server
|
||||||
run: |
|
run: |
|
||||||
git clone -b develop https://github.com/matrix-org/synapse.git
|
git clone -b develop https://github.com/matrix-org/synapse.git
|
||||||
|
ls
|
||||||
cd synapse
|
cd synapse
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
pip install -e .
|
pip install -e .
|
||||||
@ -76,16 +77,16 @@ jobs:
|
|||||||
# pip install synapse matrix-synapse
|
# pip install synapse matrix-synapse
|
||||||
# curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh --no-rate-limit \
|
# 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
|
# | sed s/127.0.0.1/0.0.0.0/g | bash
|
||||||
- name: Run integration tests on API ${{ matrix.api-level }}
|
# - name: Run integration tests on API ${{ matrix.api-level }}
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
# uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
# with:
|
||||||
api-level: ${{ matrix.api-level }}
|
# api-level: ${{ matrix.api-level }}
|
||||||
#arch: x86_64
|
# #arch: x86_64
|
||||||
#disable-animations: true
|
# #disable-animations: true
|
||||||
# script: ./gradlew -PallWarningsAsErrors=false vector:connectedAndroidTest matrix-sdk-android:connectedAndroidTest
|
# # script: ./gradlew -PallWarningsAsErrors=false vector:connectedAndroidTest matrix-sdk-android:connectedAndroidTest
|
||||||
arch: x86
|
# arch: x86
|
||||||
profile: Nexus 5X
|
# profile: Nexus 5X
|
||||||
force-avd-creation: false
|
# force-avd-creation: false
|
||||||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
emulator-build: 7425822
|
# emulator-build: 7425822
|
||||||
script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedCheck --stacktrace
|
# script: ./gradlew $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false connectedCheck --stacktrace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user