dev: ci integration tests

This commit is contained in:
Per Stark
2026-07-08 20:50:55 +02:00
parent de53020961
commit ddcef5739f
9 changed files with 12 additions and 6 deletions
+1
View File
@@ -4,6 +4,7 @@
Fix: added helpers to deserialize datetime correctly, fixes bug where cant change systemsettings on fresh deployments.
Infra: nix modularization using flake-parts, added lints and additional checks like statix and deadnix.
Infra: CI test gate now runs the full workspace suite (`cargo test --workspace`).
## 1.0.5 (2026-06-24)
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 298
expression: body
---
<!DOCTYPE html>
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 307
expression: main
---
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 325
expression: main
---
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 316
expression: main
---
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 283
expression: body
---
<!DOCTYPE html>
@@ -1,5 +1,6 @@
---
source: html-router/tests/router_integration.rs
assertion_line: 290
expression: body
---
<!DOCTYPE html>
+3 -1
View File
@@ -82,7 +82,9 @@ let
(toString src + "/common/db")
(toString src + "/html-router/templates")
(toString src + "/html-router/assets")
];
(toString src + "/html-router/tests")
]
|| lib.hasSuffix ".snap" path;
};
strictDeps = true;
+2 -5
View File
@@ -1,7 +1,4 @@
{
versions,
...
}:
{ versions, ... }:
let
inherit (versions) ortVersion;
in
@@ -67,7 +64,7 @@ in
pname = "minne";
buildInputs = commonArgs.buildInputs ++ [ pkgs.cacert ];
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-certificates.crt";
cargoTestExtraArgs = "--lib --bins";
cargoTestExtraArgs = "--workspace";
}
);