setup tests

This commit is contained in:
Guilhem Saurel 2021-06-17 01:23:25 +02:00
parent fb17a87016
commit abe6497421
10 changed files with 3060 additions and 6 deletions

17
tests/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM matrixdotorg/synapse
# This defaults to /data which is a volume aiming at keeping data.
# Here, we want to trash those, and avoid the permission issues, so let's use something else
ENV SYNAPSE_CONFIG_DIR=/srv
WORKDIR $SYNAPSE_CONFIG_DIR
ADD homeserver.yaml .
RUN python -m synapse.app.homeserver --config-path homeserver.yaml --generate-keys
RUN chown -R 991:991 .
RUN python -m pip install aiohttp matrix-nio
ADD . .