mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Run tests before publish at master
This commit is contained in:
parent
9169e0db62
commit
b2d70ec133
|
@ -17,7 +17,9 @@ test:
|
|||
after_script:
|
||||
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run ci:clean
|
||||
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml down
|
||||
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
deploy-mainnet-fork:
|
||||
tags:
|
||||
- aave-build-runner
|
||||
|
@ -29,6 +31,9 @@ deploy-mainnet-fork:
|
|||
after_script:
|
||||
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run ci:clean
|
||||
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml down
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
||||
certora-test:
|
||||
stage: checks
|
||||
|
@ -45,6 +50,9 @@ certora-test:
|
|||
- certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --solc_args "['--optimize']" --verify StableDebtTokenHarness:specs/StableDebtToken.spec --settings -assumeUnwindCond,-b=4 --cache StableDebtToken --cloud
|
||||
- certoraRun specs/harness/UserConfigurationHarness.sol --verify UserConfigurationHarness:specs/UserConfiguration.spec --solc_args "['--optimize']" --settings -useBitVectorTheory --cache UserConfiguration --cloud
|
||||
- certoraRun contracts/protocol/tokenization/VariableDebtToken.sol:VariableDebtToken specs/harness/LendingPoolHarnessForVariableDebtToken.sol --solc_args "['--optimize']" --link VariableDebtToken:POOL=LendingPoolHarnessForVariableDebtToken --verify VariableDebtToken:specs/VariableDebtToken.spec --settings -assumeUnwindCond,-useNonLinearArithmetic,-b=4 --cache VariableDebtToken --cloud
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
||||
prepare:
|
||||
stage: prepare
|
||||
|
@ -56,7 +64,6 @@ prepare:
|
|||
- docker push ${IMAGE}
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
||||
publish:
|
||||
image: ${IMAGE}
|
||||
|
@ -71,4 +78,3 @@ publish:
|
|||
- npm publish --access public
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
|
Loading…
Reference in New Issue
Block a user