Set TZ correctly before running tests.

This commit is contained in:
Orne Brocaar 2023-07-05 11:06:36 +01:00
parent 0c9e22d255
commit e9be79e948
2 changed files with 2 additions and 3 deletions

View File

@ -41,9 +41,9 @@ dist:
test:
cargo fmt --check
cargo clippy --no-deps
cargo test
TZ=UTC cargo test
test-all:
cargo fmt --check
cargo clippy --no-deps
cargo test --features test-all-integrations
TZ=UTC cargo test --features test-all-integrations

View File

@ -18,5 +18,4 @@ pkgs.mkShell {
BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";
DOCKER_BUILDKIT = "1";
NIX_STORE = "/nix/store";
TZ="UTC";
}