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. 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: 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.0.5 (2026-06-24)
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 298
expression: body expression: body
--- ---
<!DOCTYPE html> <!DOCTYPE html>
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 307
expression: main expression: main
--- ---
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 325
expression: main expression: main
--- ---
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 316
expression: main expression: main
--- ---
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 283
expression: body expression: body
--- ---
<!DOCTYPE html> <!DOCTYPE html>
@@ -1,5 +1,6 @@
--- ---
source: html-router/tests/router_integration.rs source: html-router/tests/router_integration.rs
assertion_line: 290
expression: body expression: body
--- ---
<!DOCTYPE html> <!DOCTYPE html>
+3 -1
View File
@@ -82,7 +82,9 @@ let
(toString src + "/common/db") (toString src + "/common/db")
(toString src + "/html-router/templates") (toString src + "/html-router/templates")
(toString src + "/html-router/assets") (toString src + "/html-router/assets")
]; (toString src + "/html-router/tests")
]
|| lib.hasSuffix ".snap" path;
}; };
strictDeps = true; strictDeps = true;
+2 -5
View File
@@ -1,7 +1,4 @@
{ { versions, ... }:
versions,
...
}:
let let
inherit (versions) ortVersion; inherit (versions) ortVersion;
in in
@@ -67,7 +64,7 @@ in
pname = "minne"; pname = "minne";
buildInputs = commonArgs.buildInputs ++ [ pkgs.cacert ]; buildInputs = commonArgs.buildInputs ++ [ pkgs.cacert ];
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-certificates.crt"; SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-certificates.crt";
cargoTestExtraArgs = "--lib --bins"; cargoTestExtraArgs = "--workspace";
} }
); );