Github actions improvement test

This commit is contained in:
ariskotsomitopoulos 2022-01-03 12:26:58 +02:00
parent 5edc0506ce
commit 683fcc7f3e
1 changed files with 11 additions and 13 deletions

View File

@ -56,22 +56,20 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pip- ${{ runner.os }}-pip-
${{ runner.os }}- ${{ runner.os }}-
- uses: actions/cache@v2 # - uses: actions/cache@v2
with: # with:
path: | # path: |
~/.gradle/caches # ~/.gradle/caches
~/.gradle/wrapper # ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: | # restore-keys: |
${{ runner.os }}-gradle- # ${{ runner.os }}-gradle-
- 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 source .synapse/env/bin/activate
cd synapse pip install -e .synapse
source env/bin/activate .synapse/demo/start.sh --no-rate-limit
pip install -e .
demo/start.sh --no-rate-limit
# python3 -m venv .synapse # python3 -m venv .synapse
# source .synapse/bin/activate # source .synapse/bin/activate
# pip install synapse matrix-synapse # pip install synapse matrix-synapse