Add test job for running eth2.0-specs tests (#25)
Also use python:3.8.1 docker image.
This commit is contained in:
parent
2b6c176043
commit
bc9b7ccfd3
11
circle.yml
11
circle.yml
|
@ -2,7 +2,7 @@ version: 2.0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/base:2020.01
|
- image: cimg/python:3.8.1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
@ -14,3 +14,12 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Compile the contract
|
name: Compile the contract
|
||||||
command: make
|
command: make
|
||||||
|
- run:
|
||||||
|
name: Run eth2.0-specs tests
|
||||||
|
command: |
|
||||||
|
sudo apt-get install -y python3-venv
|
||||||
|
git clone https://github.com/ethereum/eth2.0-specs
|
||||||
|
cp -f deposit_contract.json eth2.0-specs/deposit_contract/contracts/validator_registration.json
|
||||||
|
cd eth2.0-specs
|
||||||
|
make install_deposit_contract_tester
|
||||||
|
make test_deposit_contract
|
||||||
|
|
Loading…
Reference in New Issue