Commit Graph

35 Commits

Author SHA1 Message Date
Sean Quah
22d46db0ea
Test against PostgreSQL 15 in CI ()
Resolves .

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-11-09 10:32:52 +00:00
Sean Quah
a5fcdea090
Remove support for PostgreSQL 10 ()
Signed-off-by: Sean Quah <seanq@matrix.org>
2022-11-08 17:17:13 +00:00
David Robertson
efdcb24328
Revert a testing commit from
It (4f5d492cd6a9438de03d1b768f4c220cb662ac06) should have been reverted before the merge to develop.
2022-11-01 13:12:22 +00:00
David Robertson
5905ba12d0
Run trial tests against Python 3.11 () 2022-11-01 13:07:54 +00:00
David Robertson
1e73effebf
Fix typo in cibuildwheel conf introduced in 2022-10-24 13:56:18 +01:00
Erik Johnston
5f77b74215
Try building ABI3 wheels for cpython () 2022-10-21 14:17:19 +00:00
David Robertson
a8677bc9b8
Deal with some GHA deprecation warnings () 2022-10-18 13:45:34 +01:00
David Robertson
6a92944854
Handle gottestfmt repository move () 2022-10-11 17:54:06 +00:00
David Robertson
642c4b253d
Compare ported to unported PG schemas in portdb test job () 2022-09-16 16:25:54 +01:00
Erik Johnston
b5effc7201
Update trial old deps CI to use poetry 1.2.0 () 2022-09-06 11:43:04 +00:00
Erik Johnston
8edf3f66d5
Reduce number of CI jobs run on PRs ()
* Reduce number of CI jobs run on PRs

* Newsfile

* Also limit sytest jobs

* Fix typo

* Fix up

* Fixup
2022-09-05 13:31:42 +01:00
Richard van der Hoff
4f6de33f41
Print complement failure results last ()
Since github always scrolls to the bottom of any test output, let's put the
failed tests last and hide any successful packages.
2022-08-28 20:05:30 +00:00
David Robertson
e9ce4d089b
Use and recommend poetry 1.1.14, up from 1.1.12 () 2022-07-15 16:18:47 +01:00
reivilibre
68695d8007
Factor out some common Complement CI setup commands to a script. () 2022-07-05 14:24:42 +01:00
David Robertson
f33356e8f8
Use caret (semver bounds) for matrix.org packages () 2022-06-17 19:07:04 +01:00
reivilibre
e12ff697a4
Sort failing jobs in Complement CI to the top of the logs to make them easier to read. () 2022-06-15 16:13:36 +00:00
reivilibre
bf01e51554
Test Synapse against Complement with workers. ()
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-05-31 13:02:00 +00:00
David Robertson
eed38c5027
Add CI job to act as a canary for testing against latest dependencies ()
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-04-20 12:48:44 +01:00
David Robertson
d24cd17820
Use poetry lockfile in twisted trunk CI job ()
Fixes 

Co-authored-by: Sean Quah <seanq@element.io>
Co-authored-by: Dan Callahan <danc@element.io>
2022-04-13 11:26:53 +01:00
David Robertson
4e13743738
Poetry: select olddeps using poetry ()
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-04-12 10:50:11 +00:00
David Robertson
98ec375b26
CI: Fix the export-data job to run under poetry ()
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-04-08 19:18:54 +00:00
David Robertson
7851a2c62f
CI: Get the portdb job to run under poetry () 2022-04-08 12:00:05 +01:00
David Robertson
f3f0ab10fe
Move scripts directory inside synapse, exposing as setuptools entry_points ()
* Two scripts are basically entry_points already
* Move and rename scripts/* to synapse/_scripts/*.py
* Delete sync_room_to_group.pl
* Expose entry points in setup.py
* Update linter script and config
* Fixup scripts & docs mentioning scripts that moved

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2022-03-02 13:00:16 +00:00
Richard van der Hoff
6127c4b9f1
Configure tox to use venv ()
As the comment says, virtualenv is a pile of fail.
2022-02-17 15:55:14 +00:00
Richard van der Hoff
23a698f5e6
Disable coverage calculation for olddeps build. ()
We disabled coverage calculation for most of CI in , but the olddeps
build uses a separate script and got forgotten.
2022-02-02 15:59:33 +00:00
Shay
9006ee36d1
Drop support for and remove references to EOL Python 3.6 ()
* remove reference in comments to python3.6

* upgrade tox python env in script

* bump python version in example for completeness

* upgrade python version requirement in setup doc

* upgrade necessary python version in __init__.py

* upgrade python version in setup.py

* newsfragment

* drops refs to bionic and replace with focal

* bump refs to postgres 9.6 to 10

* fix hanging ci

* try installing tzdata first

* revert change made in b979f336

* ignore new random mypy error while debugging other error

* fix lint error for temporary workaround

* revert change to install list

* try passing env var

* export debian frontend var?

* move line and add comment

* bump pillow dependency

* bump lxml depenency

* install libjpeg-dev for pillow

* bump automat version to one compatible with py3.8

* add libwebp for pillow

* bump twisted trunk python version

* change suffix of newsfragment

* remove redundant python 3.7 checks

* lint
2022-01-21 14:23:26 -08:00
Dan Callahan
d7141e0b8b
Fix Shellcheck SC2006: Use $(...) notation
Use $(...) notation instead of legacy backticked `...`.

https://github.com/koalaman/shellcheck/wiki/SC2006

Signed-off-by: Dan Callahan <danc@element.io>
2021-10-22 23:08:55 +01:00
Dan Callahan
13f084eb58
Fix Shellcheck SC2086: Quote to prevent splitting
Double quote to prevent globbing and word splitting.

https://github.com/koalaman/shellcheck/wiki/SC2086

Signed-off-by: Dan Callahan <danc@element.io>
2021-10-22 23:08:54 +01:00
Dan Callahan
64adbb7b54
Fix Shellcheck SC2046: Quote to prevent word split
Quote this to prevent word splitting

https://www.shellcheck.net/wiki/SC2046

Signed-off-by: Dan Callahan <danc@element.io>
2021-10-22 23:08:53 +01:00
Hillery Shay
7d70582eb0
Fix broken export-data admin command and add a test for it to CI ()
Fix broken export-data admin command and add a test for it to CI
2021-10-18 08:14:12 -07:00
Nick Barrett
c80878d22a
Add --run-background-updates option to update_database script. ()
Signed-off-by: Nick Barrett <nick@beeper.com>
2021-10-06 11:26:18 +01:00
David Robertson
c6f5fb5477
Remove fixed and flakey tests from the sytest blacklist ()
We want to blacklist only known, consistent failures. We should deflake tests rather than ignoring them.
2021-09-10 10:53:04 +01:00
Richard van der Hoff
4db65f911a
Run a nightly CI build against Twisted trunk. ()
This creates a GHA workflow which runs at 8am every day, and runs mypy, trial and sytest against Twisted's current trunk. If any of the jobs fail, it opens an issue.
2021-08-23 11:12:45 +01:00
David Robertson
92a8e68ba2 Missed another ci->.ci
Should have been more systematic with my grepping.
2021-08-11 20:19:56 +01:00
David Robertson
33ef86aa25 Rename ci to .ci 2021-08-11 19:59:57 +01:00