Skip to content

Commit

Permalink
Run gas report and coverage in e2e (#4961)
Browse files Browse the repository at this point in the history
* Run gas report and coverage in e2e

* fix coverage for viem

---------

Co-authored-by: Christopher Dedominici <[email protected]>
  • Loading branch information
fvictorio and ChristopherDedominici authored Apr 8, 2024
1 parent a1a385c commit 279764a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions e2e/test-project-initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ for pkg_manager in $pkg_managers; do
assert_no_empty_files
$pkg_runner hardhat compile
$pkg_runner hardhat test
$pkg_runner hardhat coverage
REPORT_GAS=true $pkg_runner hardhat test
cd -

# pkg_manager, javascript, esm
Expand All @@ -94,6 +96,8 @@ for pkg_manager in $pkg_managers; do
assert_no_empty_files
$pkg_runner hardhat compile
$pkg_runner hardhat test
$pkg_runner hardhat coverage
REPORT_GAS=true $pkg_runner hardhat test
cd -

# pkg_manager, typescript, cjs
Expand All @@ -106,6 +110,8 @@ for pkg_manager in $pkg_managers; do
assert_no_empty_files
$pkg_runner hardhat compile
$pkg_runner hardhat test
$pkg_runner hardhat coverage
REPORT_GAS=true $pkg_runner hardhat test
cd -

# pkg_manager, typescript, esm
Expand Down Expand Up @@ -134,6 +140,8 @@ for pkg_manager in $pkg_managers; do
assert_no_empty_files
$pkg_runner hardhat compile
$pkg_runner hardhat test
SOLIDITY_COVERAGE=true $pkg_runner hardhat coverage
REPORT_GAS=true $pkg_runner hardhat test
cd -

# pkg_manager, typescript-viem, esm
Expand Down

0 comments on commit 279764a

Please sign in to comment.