mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
stages:
|
|
- test
|
|
|
|
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
|
|
|
|
certora-test:
|
|
stage: test
|
|
image: openjdk:15.0-jdk
|
|
tags:
|
|
- linux
|
|
before_script:
|
|
- wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_2.1.11_amd64.deb -O apt.deb
|
|
- pkexec dpkg -i apt.deb
|
|
- echo "export PATH=$PATH:~/.local/bin"
|
|
- apt-get update || sudo apt-get update
|
|
- apt-get install -y software-properties-common
|
|
- apt-get install python3-pip
|
|
- pip3 install certora-cli-beta==0.4.1
|
|
- wget https://github.com/ethereum/solidity/releases/download/v0.6.8/solc-static-linux
|
|
- chmod +x solc-static-linux
|
|
- mv solc-static-linux /usr/bin/solc
|
|
script:
|
|
- certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --solc solc6.8 --verify StableDebtTokenHarness:specs/StableDebtToken. spec --settings -assumeUnwindCond --cache StableDebtToken --staging
|
|
|