Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit fc6d189

Browse files
committed
What about if we don't like bytecode?
1 parent cfd03d6 commit fc6d189

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ jobs:
376376
377377
- run: |
378378
set -o pipefail
379-
WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json ${{ matrix.regex && format('-run Test[{0}]', matrix.regex) || '' }} 2>&1 | gotestfmt
379+
PYTHONDONTWRITEBYTECODE=1 WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json ${{ matrix.regex && format('-run Test[{0}]', matrix.regex) || '' }} 2>&1 | gotestfmt
380380
shell: bash
381381
name: Run Complement Tests
382382

docker/complement/conf-workers/start-complement-synapse-workers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export SYNAPSE_WORKER_TYPES="\
3939
appservice, \
4040
pusher"
4141

42+
export PYTHONDONTWRITEBYTECODE=1
43+
4244
# Run the script that writes the necessary config files and starts supervisord, which in turn
4345
# starts everything else
4446
exec /configure_workers_and_start.py

0 commit comments

Comments
 (0)