Merge pull request #5498 from vector-im/michaelk/setup-matrix-synapse

Swap to using github action to configure synapse server in CI builds
This commit is contained in:
Michael Kaye 2022-03-10 12:50:50 +00:00 committed by GitHub
commit 621df9d1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -87,11 +87,11 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-
- name: Start synapse server - name: Start synapse server
run: | uses: michaelkaye/setup-matrix-synapse@v0.3.0
pip install matrix-synapse with:
curl https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh -o start.sh uploadLogs: true
chmod 777 start.sh httpPort: 8080
./start.sh --no-rate-limit disableRateLimiting: true
# package: org.matrix.android.sdk.session # package: org.matrix.android.sdk.session
- name: Run integration tests for Matrix SDK [org.matrix.android.sdk.session] API[${{ matrix.api-level }}] - name: Run integration tests for Matrix SDK [org.matrix.android.sdk.session] API[${{ matrix.api-level }}]
uses: reactivecircus/android-emulator-runner@v2 uses: reactivecircus/android-emulator-runner@v2
@ -274,10 +274,11 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-
- name: Start synapse server - name: Start synapse server
run: | uses: michaelkaye/setup-matrix-synapse@v0.3.0
pip install matrix-synapse with:
curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh \ uploadLogs: true
| sed s/127.0.0.1/0.0.0.0/g | sed 's/http:\/\/localhost/http:\/\/10.0.2.2/g' | bash -s -- --no-rate-limit httpPort: 8080
disableRateLimiting: true
- uses: actions/setup-java@v2 - uses: actions/setup-java@v2
with: with:
distribution: 'adopt' distribution: 'adopt'