File tree Expand file tree Collapse file tree 3 files changed +109
-72
lines changed
Expand file tree Collapse file tree 3 files changed +109
-72
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Tests
55# so a change to a pull request was triggering both. Also run tests when a tag is pushed.
66on :
77 push :
8- branches : ["master", "release-*"]
8+ branches : [ "master", "release-*" ]
99 tags :
1010 - ' **'
1111 pull_request :
@@ -231,11 +231,13 @@ jobs:
231231 run : until pg_isready -h localhost; do sleep 1; done
232232 # coverage is already installed from the pyproject.toml file
233233 - run : poetry run pip install coverage-enable-subprocess
234- # Normally, this Github runner has 2 cores(actually threads ) available to it.
234+ # Normally, this Github runner has 4 cores(vCPUs ) available to it.
235235 # Using only one trial test runner does not saturate the cpu. Rough experimentation in the past led to having 3
236236 # of these runners per core as optimal, but now coverage is required and there may be the need
237- # to scale back a little. This should be 6 trial test runners/jobs
238- - run : poetry run coverage run -m twisted.trial -j$((`nproc` * 2 )) tests
237+ # to scale back a little. This should be 8 trial test runners/jobs. Adding in
238+ # --debug=core will display which measurement core is in use. For python 3.14+
239+ # this is educational.
240+ - run : poetry run coverage run --debug=core -m twisted.trial -j$((`nproc` * 2 )) tests
239241 env :
240242 SYNAPSE_POSTGRES : ${{ matrix.job.database == 'postgres' || '' }}
241243 SYNAPSE_POSTGRES_HOST : /var/run/postgresql
You can’t perform that action at this time.
0 commit comments