chore(yants): Move tests into subfolder & add to CI builds
This commit is contained in:
parent
902500c4ea
commit
9885036eec
4 changed files with 5 additions and 6 deletions
|
@ -7,12 +7,12 @@
|
|||
let
|
||||
pkgs = import ./default.nix {};
|
||||
in with pkgs; [
|
||||
nix.yants.tests
|
||||
ops.journaldriver
|
||||
ops.kms_pass
|
||||
ops.sync-gcsr
|
||||
tools.blog_cli
|
||||
tools.emacs
|
||||
web.cgit-taz
|
||||
|
||||
# web.tazblog # TODO(tazjin): Happstack build failure in nixos-unstable
|
||||
]
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Yants subtree contains no further derivations.
|
|
@ -1,8 +1,6 @@
|
|||
yants
|
||||
=====
|
||||
|
||||
[![Build Status](https://travis-ci.org/tazjin/yants.svg?branch=master)](https://travis-ci.org/tazjin/yants)
|
||||
|
||||
This is a tiny type-checker for data in Nix, written in Nix.
|
||||
|
||||
# Features
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with builtins;
|
||||
with (import ./default.nix {});
|
||||
with pkgs.nix.yants;
|
||||
|
||||
# Note: Derivations are not included in the tests below as they cause
|
||||
# issues with deepSeq.
|
||||
|
@ -89,4 +91,4 @@ deepSeq rec {
|
|||
(struct { a = int; b = option string; })
|
||||
(sum { a = int; b = option string; })
|
||||
];
|
||||
} "All tests passed!\n"
|
||||
} (pkgs.writeText "yants-tests" "All tests passed!")
|
Loading…
Reference in a new issue