Skip to content

Commit

Permalink
Cleanup merge of #3141 (#3164)
Browse files Browse the repository at this point in the history
### Description

- Adds changeset for
#3141

### Drive-by changes

- Runs coverage on all packages after `yarn-test`

### Backward compatibility

Yes

### Testing

Unit tests
  • Loading branch information
yorhodes authored Jan 17, 2024
1 parent 0727a61 commit e4e4f93
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .changeset/thirty-pandas-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@hyperlane-xyz/core': patch
'@hyperlane-xyz/infra': patch
'@hyperlane-xyz/sdk': patch
---

Support pausable ISM in deployer and checker
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ jobs:

coverage:
runs-on: ubuntu-latest
needs: [yarn-build]
needs: [yarn-test]

steps:
- uses: actions/checkout@v3
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion solidity/coverage.sh
Original file line number Diff line number Diff line change
@@ -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..."
Expand Down

0 comments on commit e4e4f93

Please sign in to comment.