Github actions improvement test

This commit is contained in:
ariskotsomitopoulos 2022-01-03 12:26:58 +02:00
parent 5edc0506ce
commit 683fcc7f3e

View file

@ -56,22 +56,20 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# - uses: actions/cache@v2
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
- name: Start synapse server
run: |
git clone -b develop https://github.com/matrix-org/synapse.git
ls
cd synapse
source env/bin/activate
pip install -e .
demo/start.sh --no-rate-limit
source .synapse/env/bin/activate
pip install -e .synapse
.synapse/demo/start.sh --no-rate-limit
# python3 -m venv .synapse
# source .synapse/bin/activate
# pip install synapse matrix-synapse