add verbosity for failing tests in CI

This commit is contained in:
Noah Khamliche
2022-08-18 18:25:37 -04:00
committed by dextracker
parent 3bddea0f38
commit b0ed569774
2 changed files with 9 additions and 2 deletions

View File

@@ -173,11 +173,17 @@ jobs:
- cache-{{ checksum "yarn.lock" }}-<< pipeline.parameters.cache_version >>
- restore_cache:
keys:
<<<<<<< HEAD
- lib-{{ .Environment.CIRCLE_SHA1 }}-<< pipeline.parameters.cache_version >>
- run: git submodule update --init --recursive
- run:
command: forge test
working_directory: ~/project/contracts/zero-ex
=======
- repo-{{ .Environment.CIRCLE_SHA1 }}
# - run: forge install
- run: forge test -vvv
>>>>>>> 783a83def (add verbosity for failing tests in CI)
test-publish:
resource_class: large
environment:

View File

@@ -31,7 +31,7 @@
"coverage:report:html": "istanbul report html && open coverage/index.html",
"profiler:report:html": "istanbul report html && open coverage/index.html",
"coverage:report:lcov": "istanbul report lcov",
"test:circleci": "foundryup && yarn foundry:SU && yarn test && yarn forge",
"test:circleci": "yarn install:foundry && foundryup && yarn foundry:SU && yarn test && yarn forge",
"contracts:gen": "contracts-gen generate",
"contracts:copy": "contracts-gen copy",
"compile:truffle": "truffle compile",
@@ -40,7 +40,8 @@
"publish:private": "yarn build && gitpkg publish",
"rollback": "node ./lib/scripts/rollback.js",
"typechain": "typechain --target=ethers-v5 --out-dir='typechain-wrappers' './foundry-artifacts/**/*.json'",
"foundry:SU": "git submodule update --init --recursive"
"foundry:SU": "git submodule update --init --recursive",
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash"
},
"config": {
"publicInterfaceContracts": "IZeroEx,ZeroEx,FullMigration,InitialMigration,IFlashWallet,IERC20Transformer,IOwnableFeature,ISimpleFunctionRegistryFeature,ITransformERC20Feature,FillQuoteTransformer,PayTakerTransformer,PositiveSlippageFeeTransformer,WethTransformer,OwnableFeature,SimpleFunctionRegistryFeature,TransformERC20Feature,AffiliateFeeTransformer,MetaTransactionsFeature,LogMetadataTransformer,LiquidityProviderFeature,ILiquidityProviderFeature,NativeOrdersFeature,INativeOrdersFeature,FeeCollectorController,FeeCollector,CurveLiquidityProvider,BatchFillNativeOrdersFeature,IBatchFillNativeOrdersFeature,MultiplexFeature,IMultiplexFeature,OtcOrdersFeature,IOtcOrdersFeature,AvalancheBridgeAdapter,BSCBridgeAdapter,CeloBridgeAdapter,EthereumBridgeAdapter,FantomBridgeAdapter,OptimismBridgeAdapter,PolygonBridgeAdapter",