1
0
Commit Graph

129 Commits

Author SHA1 Message Date
Brendan Abolivier
4ab2ed283c Re-comment lint 2022-09-02 15:34:50 +01:00
Brendan Abolivier
644d2a595b Merge branch 'develop' into babolivier/sonar_coverage 2022-09-02 16:33:57 +02:00
Erik Johnston
0fdb685c2b Only run trial CI on all python versions on non-PRs (#13698) 2022-09-02 13:12:47 +01:00
Erik Johnston
18e4092801 Bump docker image to use stable poetry version (#13688) 2022-09-01 13:46:47 +01:00
Richard van der Hoff
4f6de33f41 Print complement failure results last (#13639)
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
Kat Gerasimova
a282446502 Update automation for incoming issues (#13629)
GitHub appears to be deprecating addProjectNextItem by not allowing it to be used alongside projectV2 to get the project ID, so switching to using addProjectV2ItemById instead.
2022-08-25 12:09:23 +01:00
Andy Balaam
371db86a86 First draft of triage_labelled action (#13612) 2022-08-24 13:59:33 +01:00
Kat Gerasimova
2e2040c93e Add GitHub automation for new issues (#13610)
Set up automation to move newly opened issues in GitHub to the issue triage board.
2022-08-24 12:10:32 +01:00
David Robertson
ba8938b090 Reject non-strict types in Pydantic models (#13502) 2022-08-17 11:17:04 +01:00
reivilibre
05aeeb3a80 Enable Complement CI tests in the 'latest deps' test run. (#13213)
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
2022-08-01 10:55:31 +00:00
reivilibre
b817574be7 Re-enable running Complement tests against Synapse with workers. (#13420) 2022-08-01 11:51:44 +01:00
David Robertson
e9ce4d089b Use and recommend poetry 1.1.14, up from 1.1.12 (#13285) 2022-07-15 16:18:47 +01:00
Patrick Cloke
90e9b4fa1e Do not fail build if complement with workers fails. (#13266) 2022-07-13 08:30:42 -04:00
reivilibre
68695d8007 Factor out some common Complement CI setup commands to a script. (#13157) 2022-07-05 14:24:42 +01:00
Brendan Abolivier
1ad4c043f5 Update .github/workflows/sonarqube.yml
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-01 18:11:27 +02:00
reivilibre
c04e25789e Enable Complement testing in the 'Twisted Trunk' CI runs. (#13079) 2022-07-01 15:42:49 +00:00
reivilibre
9667bad55d Improve startup times in Complement test runs against workers, particularly in CPU-constrained environments. (#13127)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-06-30 11:58:12 +00:00
reivilibre
e12ff697a4 Sort failing jobs in Complement CI to the top of the logs to make them easier to read. (#13057) 2022-06-15 16:13:36 +00:00
Erik Johnston
de334ac183 Add a CI job to check that schema deltas are in the correct folder. (#13063) 2022-06-15 16:27:18 +01:00
Erik Johnston
9ad2197fa7 Rename complement-developonly (#13046) 2022-06-15 15:11:42 +00:00
reivilibre
538044ac01 Collapse Docker build commands in Complement CI runs to make the logs easier to read. (#13058) 2022-06-15 14:42:27 +00:00
reivilibre
09a3c5ce0b Fix Complement runs always being Postgres (#13034)
* Fix Complement runs always being Postgres

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2022-06-14 13:13:35 +01:00
reivilibre
3d1d510fa9 Enable testing against PostgreSQL databases in Complement CI. (#12965) 2022-06-09 14:16:34 +01:00
Brendan Abolivier
b5e9e4bcd2 Run all the tests 2022-06-08 14:57:08 +01:00
Brendan Abolivier
b9ce2499ce Fix value for TOP in sytest 2022-06-08 14:36:02 +01:00
Brendan Abolivier
45635f58cf More tweaking 2022-06-08 14:00:23 +01:00
Brendan Abolivier
efe2f85e3c Run less stuff in CI 2022-06-08 13:55:39 +01:00
Brendan Abolivier
a8046e43ed Fix limited test list 2022-06-08 11:17:31 +01:00
Brendan Abolivier
a7891a6de9 Use correct value for TOP in Sytest 2022-06-08 11:08:01 +01:00
Brendan Abolivier
ea40fbb3d6 Don't run all the tests for now 2022-06-08 11:00:13 +01:00
Brendan Abolivier
ea2478b68f Make coverage job depend on sytest 2022-06-07 11:23:33 +01:00
Brendan Abolivier
8e4b43dc41 Retrieve coverage files from sytest 2022-06-07 11:01:33 +01:00
Michael Telatynski
45e57d3fb3 Merge branch 'develop' of https://github.com/matrix-org/synapse into sonar
 Conflicts:
	poetry.lock
2022-06-07 10:14:42 +01:00
Michael Telatynski
782cb7420a Fix complement tests using the wrong path (#12933) 2022-06-01 15:57:09 +01:00
Michael Telatynski
35d2211efe Merge remote-tracking branch 't3chguy/sonar' into sonar 2022-06-01 15:08:26 +01:00
Michael Telatynski
b06bd9954c Update to matrix-org/sonarcloud-workflow-action@v2.1
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-01 15:08:03 +01:00
Michael Telatynski
fc8262bb41 Merge branch 'develop' into sonar 2022-06-01 10:00:57 +01:00
Michael Telatynski
2cd4be8008 Revert spacing tweak
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-01 08:42:58 +01:00
Michael Telatynski
2bb8d38adf Update sonarqube workflow to use new composite action
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-01 08:42:21 +01:00
Michael Telatynski
8978c26e65 Make use of artifact merging :o
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 14:58:08 +01:00
Michael Telatynski
71e98756d9 Fix coverage upload wildcard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 14:05:05 +01:00
reivilibre
bf01e51554 Test Synapse against Complement with workers. (#12810)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-05-31 13:02:00 +00:00
Michael Telatynski
e990b8a563 Move coverage files to where the tool expects
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 13:18:45 +01:00
Michael Telatynski
4d8d0a2fa4 Add coverage to poetry as installing it can take 3 mins
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 12:12:45 +01:00
Michael Telatynski
b6a6efc5f8 Use poetry and set $TOP env in trial & coverage jobs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 11:25:33 +01:00
Michael Telatynski
1d9d5c8f19 Get rid of --jobs for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 11:13:31 +01:00
Michael Telatynski
6dceb4c349 arguments --
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31 11:04:20 +01:00
Michael Telatynski
f09a4ad816 Correct two paths and a switch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-30 19:17:39 +01:00
Michael Telatynski
23eaa313a3 Stash initial SonarQube work
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-30 19:06:06 +01:00
Henry
b8fa24b022 Use docker/metadata-action to generate docker image tags (#12573)
Update the "Build docker images" GitHub Actions workflow to use
`docker/metadata-action` to generate docker image tags, instead of a
custom shell script.

Signed-off-by: Henry <97804910+henryclw@users.noreply.github.com>
2022-05-05 12:36:42 +00:00