mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-13 08:12:49 +02:00
dev: ci integration tests
This commit is contained in:
@@ -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
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user