mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-20 13:38:34 +01:00
Github actions improvement test
This commit is contained in:
parent
f9e03aa99e
commit
c2183800d3
15
.github/workflows/integration.yml
vendored
15
.github/workflows/integration.yml
vendored
@ -66,11 +66,16 @@ jobs:
|
|||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- name: Start synapse server
|
- name: Start synapse server
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv .synapse
|
git clone -b develop https://github.com/matrix-org/synapse.git
|
||||||
source .synapse/bin/activate
|
cd synapse
|
||||||
pip install synapse matrix-synapse
|
source env/bin/activate
|
||||||
curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh --no-rate-limit \
|
pip install -e .
|
||||||
| sed s/127.0.0.1/0.0.0.0/g | bash
|
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 }}
|
- name: Run integration tests on API ${{ matrix.api-level }}
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
with:
|
||||||
|
@ -47,7 +47,7 @@ android {
|
|||||||
|
|
||||||
testOptions {
|
testOptions {
|
||||||
// Comment to run on Android 12
|
// Comment to run on Android 12
|
||||||
execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
// execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -205,7 +205,7 @@ android {
|
|||||||
animationsDisabled = true
|
animationsDisabled = true
|
||||||
|
|
||||||
// Comment to run on Android 12
|
// Comment to run on Android 12
|
||||||
execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
// execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
Loading…
Reference in New Issue
Block a user