mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-22 19:58:39 +00:00
ci, tests: run all tests in CI, also with the PostgreSQL agent store (#2065)
* ci, tests: run all tests in CI * ci: test with PostgreSQL agent store on one entry * ci: link libsodium-sumo module for xftp-web tests * tests: run stress tests at 1k messages * tests: wait for subscription events from all servers of remaining connections * ci, tests: fail on stale generated files, update agent PostgreSQL schema dump * ci: give the PostgreSQL test server 1 GB of shared memory * ci, tests: run slow XFTP server test in a flagged test build only
This commit is contained in:
1 parent
7d0cd4294d
commit
a21ff5dbf6
11 files changed
+114
-77
No files matched your search
@@ -9,7 +9,7 @@
|
||||
| a push to a draft pull request<br>a manual run (workflow_dispatch)<br>a push to master or stable in a fork | reduced | build-reduced: ubuntu-24.04 x86-64, GHC 9.6.3, at -O0 (-O2 on pushes), without the standard build |
|
||||
| a pull request marked ready for review, and later pushes to it<br>a push to master or stable in simplex-chat/simplexmq<br>a push of a v* tag | full | build: 5 entries (GHC 8.10.7 and 9.6.3, x86-64 and aarch64), at -O0 on pull requests and -O2 on pushes |
|
||||
|
||||
Both builds also run maybe-release and resolver (python). Tests run on the x86-64 entries. The reduced build restores the -O0 build caches saved by master pushes; the Docker image cache is tagged by ISO week, so the first run of a week rebuilds the image.
|
||||
Both builds also run maybe-release and resolver (python). Tests run on the x86-64 entries, after xftp-web is built with Node.js 22 (`npm install`, `npm run build`) for the XFTP Web Client tests. The ubuntu-24.04 x86-64 entry also runs the tests built with `-fclient_postgres -fslow_servers` (agent with the PostgreSQL store, and XFTP servers that delay responses for the slow-server test, which the other builds skip), in the build directory dist-client-postgres, in step "Test with PostgreSQL agent store". After the tests, step "Check generated files" fails if a test changed a tracked file: the schema dump and query plan tests overwrite their files, so a stale file fails here even when the test passes on retry. The reduced build restores the -O0 build caches saved by master pushes; the Docker image cache is tagged by ISO week, so the first run of a week rebuilds the image.
|
||||
|
||||
## Test selection
|
||||
|
||||
|
||||
Reference in new issue
Block a user