Skip to content

Commit

Permalink
Merge pull request #30 from base-org/tests
Browse files Browse the repository at this point in the history
Tests
  • Loading branch information
lukasrosario authored Nov 24, 2023
2 parents 3959802 + d7132aa commit e557297
Show file tree
Hide file tree
Showing 19 changed files with 3,435 additions and 1,184 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ runs:
registry-url: https://registry.npmjs.org
cache: pnpm

- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install node modules
run: pnpm install
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: ./.github/actions/setup

- name: Run tests
run: pnpm test:cov
run: CI=true pnpm test:cov --retry=3 --bail=1 --run

# Adds coverage to github pr
- name: 'Report Coverage'
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ jobs:

- name: Run typechecker
run: pnpm typecheck

- name: Run typechecker on tests
run: pnpm test:typecheck
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@
"prepare": "npx simple-git-hooks"
},
"dependencies": {
"@eth-optimism/contracts-ts": "^0.15.0"
"@eth-optimism/contracts-ts": "^0.15.0",
"@testing-library/react-hooks": "^8.0.1"
},
"peerDependencies": {
"@tanstack/react-query": ">=5.0.0",
"@wagmi/core": "beta",
"op-viem": "1.3.0-alpha",
"typescript": ">=5.0.4",
"viem": "2.0.0-beta.0",
"viem": "beta",
"wagmi": "beta"
},
"peerDependenciesMeta": {
Expand Down
Loading

0 comments on commit e557297

Please sign in to comment.