diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63129a2..4bbc794 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,12 +33,18 @@ jobs: pip install -r requirements.txt pip install -r requirements-dev.txt pip install codecov + - name: Lint with flake8 run: flake8 . - name: Mypy check run: mypy transaction_manager + - name: Launch hardhat node + working-directory: hardhat-node + run: | + docker-compose up -d + - name: Run test containers run: ./scripts/run-test-containers.sh && sleep 60 diff --git a/.gitmodules b/.gitmodules index d54a208..207279c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,10 @@ [submodule "helper-scripts"] path = helper-scripts url = https://github.com/skalenetwork/helper-scripts.git - branch = develop + branch = develop + +[submodule "hardhat-node"] + path = hardhat-node + url = https://github.com/skalenetwork/hardhat-node.git + branch = develop + diff --git a/scripts/run-test-containers.sh b/scripts/run-test-containers.sh index 4d83988..105fd15 100755 --- a/scripts/run-test-containers.sh +++ b/scripts/run-test-containers.sh @@ -65,12 +65,12 @@ cleanup_skale_dir cleanup_redis_dir create_skale_dir create_redis_dir -build tm hnode +build tm if [ -z ${SGX_URL} ]; then - run_containers tm hnode redis + run_containers tm redis else - run_containers sgx tm hnode redis + run_containers sgx tm redis gen_sgx_key fi