chore(yants): Move tests into subfolder & add to CI builds

This commit is contained in:
Vincent Ambo 2019-12-20 21:52:59 +00:00
parent 902500c4ea
commit 9885036eec
4 changed files with 5 additions and 6 deletions

View file

@ -1 +0,0 @@
Yants subtree contains no further derivations.

View file

@ -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

View file

@ -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!")