Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 944 Bytes

integration-test.md

File metadata and controls

37 lines (30 loc) · 944 Bytes

Integration Test

Clone the cronos repository

git clone https://github.com/crypto-org-chain/cronos.git

Install nix

curl -L https://nixos.org/nix/install | sh -s

For macOS (>= 10.15), you need to run the following command instead

curl -L https://nixos.org/nix/install | sh -s -- --darwin-use-unencrypted-nix-store-volume

To ensure that the necessary environment variables are set, please add the line to your shell profile (e.g. ~/.profile)

source ~/.nix-profile/etc/profile.d/nix.sh

Install cachix

nix-env -iA cachix -f https://cachix.org/api/v1/install

Configure a binary cache by writing nix.conf and netrc files

cachix use cronos
nix path-info --all | grep -v '.drv$' > /tmp/store-path-pre-build

Run the Integration Test

make run-integration-tests