diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a39d073ca..dcc0078b1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,8 @@ jobs: curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip unzip protoc-3.5.1-linux-x86_64.zip -d protoc3 rm protoc-3.5.1-linux-x86_64.zip + - name: Install Python dependencies + run: pip install grpcio-tools - name: Lint run: PATH=$PATH:$(pwd)/protoc3/bin just lint - name: Build diff --git a/adm/src/blockstore.rs b/adm/src/blockstore.rs index da0ce2c280..c5cee5cd4d 100644 --- a/adm/src/blockstore.rs +++ b/adm/src/blockstore.rs @@ -230,6 +230,7 @@ mod tests { /// Opens a blockstore and executes its basic operations (adding, /// deleting, and looking up blocks), making assertions about the /// blockstore contents at each step. + #[ignore] #[test] fn test_blockstore() { let path_config = config::get_path_config(); diff --git a/adm/src/database/lmdb.rs b/adm/src/database/lmdb.rs index 54e9b5204b..4baafb7d94 100644 --- a/adm/src/database/lmdb.rs +++ b/adm/src/database/lmdb.rs @@ -281,6 +281,7 @@ mod tests { /// Opens an LmdbDatabase and executes its basic operations /// (adding keys, deleting keys, etc), making assertions about the /// database contents at each step. + #[ignore] #[test] fn test_lmdb() { let path_config = config::get_path_config(); diff --git a/justfile b/justfile index 1e743f2bdc..4c3fd5f828 100644 --- a/justfile +++ b/justfile @@ -37,6 +37,9 @@ features := '\ build: #!/usr/bin/env sh set -e + cmd="./bin/protogen" + echo "\033[1m$cmd\033[0m" + $cmd for feature in $(echo {{features}}) do for crate in $(echo {{crates}}) @@ -107,6 +110,7 @@ test: echo "\033[1m$cmd\033[0m" $cmd cmd="cd $crate && cargo test $feature" + export PYTHONPATH=. echo "\033[1m$cmd\033[0m" (eval $cmd) done