Github actions improvement test

This commit is contained in:
ariskotsomitopoulos 2022-01-03 12:14:14 +02:00
parent f9e03aa99e
commit c2183800d3
3 changed files with 12 additions and 7 deletions

View File

@ -66,11 +66,16 @@ jobs:
${{ runner.os }}-gradle-
- name: Start synapse server
run: |
python3 -m venv .synapse
source .synapse/bin/activate
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
git clone -b develop https://github.com/matrix-org/synapse.git
cd synapse
source env/bin/activate
pip install -e .
demo/start.sh --no-rate-limit
# python3 -m venv .synapse
# source .synapse/bin/activate
# 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:

View File

@ -47,7 +47,7 @@ android {
testOptions {
// Comment to run on Android 12
execution 'ANDROIDX_TEST_ORCHESTRATOR'
// execution 'ANDROIDX_TEST_ORCHESTRATOR'
}
buildTypes {

View File

@ -205,7 +205,7 @@ android {
animationsDisabled = true
// Comment to run on Android 12
execution 'ANDROIDX_TEST_ORCHESTRATOR'
// execution 'ANDROIDX_TEST_ORCHESTRATOR'
}
signingConfigs {