diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 19d115f8e6..6982b36225 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -44,6 +44,10 @@ jobs: command: build args: --all - uses: taiki-e/install-action@nextest + - name: verify modules + run: | + cp ./target/debug/starcoin_db_exporter . + bash ./scripts/verify_modules.sh main - name: test # run: bash ./scripts/auto_rerun_test.sh # --test-threads 10, proper test concurrency level, balance failure rate and test speed diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile index bc57cf4c1d..2511ac3bd2 100644 --- a/docker/ci/Dockerfile +++ b/docker/ci/Dockerfile @@ -3,6 +3,7 @@ FROM summerwind/actions-runner:v2.283.3-ubuntu-20.04-b01e193 as actions-runner WORKDIR /starcoin COPY rust-toolchain /starcoin/rust-toolchain COPY scripts/dev_setup.sh /starcoin/scripts/dev_setup.sh +COPY scripts/verify_modules.sh /starcoin/scripts/verify_modules.sh RUN /starcoin/scripts/dev_setup.sh -b -t -y -o -p && \ sudo apt-get clean && \ diff --git a/kube/manifest/runner/runner.yaml b/kube/manifest/runner/runner.yaml index 4c1b1f4a30..318ab4b1d5 100644 --- a/kube/manifest/runner/runner.yaml +++ b/kube/manifest/runner/runner.yaml @@ -7,7 +7,7 @@ spec: spec: nodeSelector: node-pool: ci-pool-200g - image: starcoin/starcoin-builder:sha-cbd4ad4 + image: starcoin/starcoin-builder:sha-cbd4ad4 # TODO update new runner image repository: starcoinorg/starcoin ephemeral: true tolerations: