Run test on API 21 and API 30, and disable rate limiting on Synapse

This commit is contained in:
Benoit Marty 2021-05-19 17:45:47 +02:00
parent fa6aaca67a
commit 974c7ef8d9
1 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,9 @@ jobs:
integration-tests:
name: Integration Tests (Synapse)
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [21, 30]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
@ -36,10 +39,10 @@ jobs:
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 \
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
- name: Run integration tests on API ${{ matrix.api-level }}
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
api-level: ${{ matrix.api-level }}
script: ./gradlew -PallWarningsAsErrors=false vector:connectedAndroidTest matrix-sdk-android:connectedAndroidTest