From 0a8b4f0ffd7994ee4878acaa999c199a67f66234 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sat, 30 Nov 2019 11:42:58 +0100 Subject: [PATCH] Move github tests: tests -> tests/github --- default.nix | 2 +- .../571b40d3f50466d3e91c1e609d372de96d782793.tar.gz | Bin .../a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz | Bin .../abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz | Bin .../data/repos/NixOS/nixpkgs-channels/commits.json | 0 .../repos/NixOS/nixpkgs-channels/repository.json | 0 .../data/repos/nmattia/niv/commits.json | 0 .../data/repos/nmattia/niv/repository.json | 0 tests/{ => github}/default.nix | 0 tests/{ => github}/expected/niv-init.json | 0 10 files changed, 1 insertion(+), 1 deletion(-) rename tests/{ => github}/data/archives/571b40d3f50466d3e91c1e609d372de96d782793.tar.gz (100%) rename tests/{ => github}/data/archives/a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz (100%) rename tests/{ => github}/data/archives/abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz (100%) rename tests/{ => github}/data/repos/NixOS/nixpkgs-channels/commits.json (100%) rename tests/{ => github}/data/repos/NixOS/nixpkgs-channels/repository.json (100%) rename tests/{ => github}/data/repos/nmattia/niv/commits.json (100%) rename tests/{ => github}/data/repos/nmattia/niv/repository.json (100%) rename tests/{ => github}/default.nix (100%) rename tests/{ => github}/expected/niv-init.json (100%) diff --git a/default.nix b/default.nix index c19dff7..1672236 100644 --- a/default.nix +++ b/default.nix @@ -190,7 +190,7 @@ rec { inherit niv niv-sdist niv-source niv-devshell niv-cabal-upload; - tests = pkgs.callPackage ./tests { inherit niv; }; + tests-github = pkgs.callPackage ./tests/github { inherit niv; }; niv-test = pkgs.runCommand "niv-test" { buildInputs = [ niv ]; } "niv-test && touch $out"; diff --git a/tests/data/archives/571b40d3f50466d3e91c1e609d372de96d782793.tar.gz b/tests/github/data/archives/571b40d3f50466d3e91c1e609d372de96d782793.tar.gz similarity index 100% rename from tests/data/archives/571b40d3f50466d3e91c1e609d372de96d782793.tar.gz rename to tests/github/data/archives/571b40d3f50466d3e91c1e609d372de96d782793.tar.gz diff --git a/tests/data/archives/a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz b/tests/github/data/archives/a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz similarity index 100% rename from tests/data/archives/a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz rename to tests/github/data/archives/a489b65a5c3a29983701069d1ce395b23d9bde64.tar.gz diff --git a/tests/data/archives/abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz b/tests/github/data/archives/abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz similarity index 100% rename from tests/data/archives/abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz rename to tests/github/data/archives/abc51449406ba3279c466b4d356b4ae8522ceb58.tar.gz diff --git a/tests/data/repos/NixOS/nixpkgs-channels/commits.json b/tests/github/data/repos/NixOS/nixpkgs-channels/commits.json similarity index 100% rename from tests/data/repos/NixOS/nixpkgs-channels/commits.json rename to tests/github/data/repos/NixOS/nixpkgs-channels/commits.json diff --git a/tests/data/repos/NixOS/nixpkgs-channels/repository.json b/tests/github/data/repos/NixOS/nixpkgs-channels/repository.json similarity index 100% rename from tests/data/repos/NixOS/nixpkgs-channels/repository.json rename to tests/github/data/repos/NixOS/nixpkgs-channels/repository.json diff --git a/tests/data/repos/nmattia/niv/commits.json b/tests/github/data/repos/nmattia/niv/commits.json similarity index 100% rename from tests/data/repos/nmattia/niv/commits.json rename to tests/github/data/repos/nmattia/niv/commits.json diff --git a/tests/data/repos/nmattia/niv/repository.json b/tests/github/data/repos/nmattia/niv/repository.json similarity index 100% rename from tests/data/repos/nmattia/niv/repository.json rename to tests/github/data/repos/nmattia/niv/repository.json diff --git a/tests/default.nix b/tests/github/default.nix similarity index 100% rename from tests/default.nix rename to tests/github/default.nix diff --git a/tests/expected/niv-init.json b/tests/github/expected/niv-init.json similarity index 100% rename from tests/expected/niv-init.json rename to tests/github/expected/niv-init.json