akc / hops

HOPS - Handy Operations on Power Series
http://akc.is/hops
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Don't assume a home directory while running tests #15

Closed SuprDewd closed 7 years ago

SuprDewd commented 7 years ago

Currently the NixOS/Hydra build is failing because of this: http://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.hops.x86_64-linux

SuprDewd commented 7 years ago

One possible fix is to ship a tiny mock version of oeis-data (which already exists), and then point to it while running tests. This may require making a version of getConfig for the test environment.