From e4e4f93fca64e9971c752d9cc39f64e223f6d1dc Mon Sep 17 00:00:00 2001 From: Yorke Rhodes Date: Wed, 17 Jan 2024 15:16:01 -0500 Subject: [PATCH] Cleanup merge of #3141 (#3164) ### Description - Adds changeset for https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/3141 ### Drive-by changes - Runs coverage on all packages after `yarn-test` ### Backward compatibility Yes ### Testing Unit tests --- .changeset/thirty-pandas-design.md | 7 +++++++ .github/workflows/test.yml | 5 ++++- package.json | 2 +- solidity/coverage.sh | 4 +++- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .changeset/thirty-pandas-design.md diff --git a/.changeset/thirty-pandas-design.md b/.changeset/thirty-pandas-design.md new file mode 100644 index 000000000..14a9698d2 --- /dev/null +++ b/.changeset/thirty-pandas-design.md @@ -0,0 +1,7 @@ +--- +'@hyperlane-xyz/core': patch +'@hyperlane-xyz/infra': patch +'@hyperlane-xyz/sdk': patch +--- + +Support pausable ISM in deployer and checker diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8399e8d04..2a4ea99c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -260,7 +260,7 @@ jobs: coverage: runs-on: ubuntu-latest - needs: [yarn-build] + needs: [yarn-test] steps: - uses: actions/checkout@v3 @@ -283,6 +283,9 @@ jobs: !./rust key: ${{ github.sha }} + - name: foundry-install + uses: onbjerg/foundry-toolchain@v1 + - name: Run tests with coverage run: yarn coverage env: diff --git a/package.json b/package.json index 4a1164005..246a43a8d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lint": "yarn workspaces foreach --since --parallel run lint", "test": "yarn workspaces foreach --all --parallel run test", "test:ci": "yarn workspaces foreach --all --parallel run test:ci", - "coverage": "yarn workspaces foreach --since --parallel run coverage", + "coverage": "yarn workspaces foreach --all --parallel run coverage", "version:prepare": "yarn changeset version && yarn workspaces foreach --all --parallel run version:update && yarn install --no-immutable", "version:check": "yarn changeset status", "release": "yarn build && yarn changeset publish", diff --git a/solidity/coverage.sh b/solidity/coverage.sh index ba4437113..567dd7f04 100755 --- a/solidity/coverage.sh +++ b/solidity/coverage.sh @@ -1,5 +1,7 @@ +#!/bin/bash + # generates lcov.info -forge coverage --report lcov +forge coverage --report lcov --no-match-test testFork if ! command -v lcov &>/dev/null; then echo "lcov is not installed. Installing..."