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