Add test job for running eth2.0-specs tests (#25)

Also use python:3.8.1 docker image.
This commit is contained in:
Alex Beregszaszi 2020-05-14 20:36:54 +01:00 committed by GitHub
parent 2b6c176043
commit bc9b7ccfd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@ version: 2.0
jobs:
build:
docker:
- image: cimg/base:2020.01
- image: cimg/python:3.8.1
steps:
- checkout
- run:
@ -14,3 +14,12 @@ jobs:
- run:
name: Compile the contract
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