Skip to content

Commit

Permalink
Put synapse config in the tree
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Aug 18, 2023
1 parent 8522008 commit 2dc82eb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/dmr-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,6 @@ jobs:
pip install -r tests-e2e/synapse-requirements.txt
pip list
- name: Configure Synapse
shell: bash
run: |
mkdir synapse
echo <<EOF
server_name: "exampledomain"
listeners:
- port: 8008
type: http
bind_addresses: ['::1', '127.0.0.1']
resources:
- names: [client]
database:
name: sqlite3
args:
database: synapse/homeserver.db
suppress_key_server_warning: true
report_stats: false
EOF > synapse/homeserver.yaml
- name: Run end-to-end tests
run: |
set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion tests-e2e/run-tests-dmr-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export SYNCV3_ADDR='http://localhost:8844'
export SYNCV3_DEBUG=1

# Run synapse and stop it afterwards.
python -m synapse.app.homeserver -c synapse/homeserver.yaml &
python -m synapse.app.homeserver -c synapse-homeserver.yaml &
SYNAPSE_PID=$!

# Run the binary and stop it afterwards.
Expand Down
13 changes: 13 additions & 0 deletions tests-e2e/synapse-homeserver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
server_name: "exampledomain"
listeners:
- port: 8008
type: http
bind_addresses: ['::1', '127.0.0.1']
resources:
- names: [client]
database:
name: sqlite3
args:
database: synapse/homeserver.db
suppress_key_server_warning: true
report_stats: false

0 comments on commit 2dc82eb

Please sign in to comment.