aave-protocol-v2/.gitlab-ci.yml

27 lines
755 B
YAML

stages:
- test
- deploy-mainnet-fork
test:
stage: test
tags:
- aave-build-runner
before_script:
- docker-compose -f docker-compose.test.yml build
script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:test
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down
deploy-mainnet-fork:
stage: deploy-mainnet-fork
tags:
- aave-build-runner
before_script:
- docker-compose build
script:
- docker-compose run contracts-env npm aave:main:fork
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down