Added env variables to docker-compose.test.yml

This commit is contained in:
David Racero 2020-11-20 15:44:43 +01:00
parent 27b05921d0
commit 3856104f67
2 changed files with 5 additions and 3 deletions

View File

@ -18,9 +18,9 @@ deploy-mainnet-fork:
tags:
- aave-build-runner
before_script:
- docker-compose build
- docker-compose -f docker-compose.test.yml build
script:
- docker-compose run contracts-env npm aave:fork:main
- docker-compose -f docker-compose.test.yml run contracts-env npm aave:fork:main
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down

View File

@ -4,4 +4,6 @@ services:
build:
context: ./
dockerfile: ./Dockerfile_test
command: npm run test
environment:
MNEMONIC: ${MNEMONIC}
ALCHEMY_KEY: ${ALCHEMY_KEY}