Commit Graph

133 Commits

Author SHA1 Message Date
Hsiao-Wei Wang 722a69467f
Add `light_client/merkle_proofs.md` to executable stack. Errors revealed. 2019-08-15 15:07:44 +08:00
Hsiao-Wei Wang e4e6c4d8ee
Fix the order of build spec 2019-08-12 00:45:33 +08:00
Hsiao-Wei Wang c5acddc071
Enable it in CI 2019-08-11 23:19:17 +08:00
protolambda 0c5153d3f0
add coment about test generation config filtering to makefile 2019-07-30 22:17:44 +02:00
protolambda eba473079b
update makefile to support generators outputting to same config, or even same runner dir 2019-07-30 12:49:18 +02:00
Carl Beekhuizen 90bba0348c
Fix spelling error
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-06-30 17:53:21 +02:00
Carl Beekhuizen f6322e199b
Fixes typing and Makefile 2019-06-30 11:18:36 +02:00
Carl Beekhuizen 1d9fe90d97
Makes v-guide executable 2019-06-30 10:58:04 +02:00
Diederik Loerakker c86108de00
Merge pull request #1207 from ethereum/fix_make_lint
Fix `make lint`
2019-06-22 17:07:00 +02:00
Hsiao-Wei Wang 99df7da94a
Add `&&` between the commands 2019-06-21 22:53:02 -06:00
Danny Ryan f12c32a690
Xdist tests for parallelism (#1201)
* add xdist parallelization

* reduce circleci cpus to 8

* reduce cpus to 4

* reduce circleci cpus to 2

* circleci back to 4 cpus
2019-06-21 14:18:28 -06:00
Carl Beekhuizen 3418c3506f
Merge dev and resolve conflicts (please let the CI tests pass with the new dev) 2019-06-19 20:27:54 +02:00
Carl Beekhuizen 31a4700223
Merge conflicts on `dev` 2019-06-17 22:09:43 -04:00
Hsiao-Wei Wang 01e9f18713
Merge branch 'dev' into mypy 2019-06-17 17:51:46 -04:00
Danny Ryan 2f9c554bf7
minor fix to makefile, add codecov instructiosn to readme 2019-06-16 17:38:48 -06:00
Carl Beekhuizen 11edda64ed
Adds fork-choice to spec builder 2019-06-15 18:42:03 -04:00
protolambda 20aa539f4d
update clean command 2019-06-15 01:13:29 +02:00
protolambda 1c51982c6b
generate coverage reports in make test, open as html site 2019-06-14 23:12:04 +02:00
Hsiao-Wei Wang 8577cff72e
enable mypy check in CI 2019-06-12 20:10:24 -04:00
Hsiao-Wei Wang 8a54203796
Modify the mypy config 2019-06-12 16:50:49 -04:00
Hsiao-Wei Wang f2c33529df
Add mypy check in CI 2019-06-11 00:45:00 -04:00
protolambda bce6c899f6
improve makefile: declare new targets as non-file 2019-06-08 13:30:47 +02:00
Hsiao-Wei Wang e52c4a5526
fix 2019-06-07 23:01:10 -04:00
Hsiao-Wei Wang 5b8cca8314
deposit_contract/venv
PR feedback + bump eth-tester
2019-06-07 22:41:50 -04:00
Hsiao-Wei Wang b78f5b2cc9
Merge branch 'dev' into deposit_contract_venvs 2019-06-07 15:22:43 -04:00
Carl Beekhuizen d761b6f041
Implements new SSZ types 2019-06-05 15:29:26 +02:00
protolambda fb584bc067
fix linting dependency + caching issue 2019-06-03 17:23:30 +02:00
protolambda b79f01e2fa
update flake8 to support type annotation in linting, ignore operator format and default param equals without spaces warnings 2019-06-01 02:39:41 +02:00
Carl Beekhuizen 28d98b5cf4
PEP8 cleanups 2019-05-31 13:20:10 +02:00
Carl Beekhuizen 9e8a969f22
Removes old tests & fixes phase1 tests 2019-05-31 12:44:34 +02:00
Carl Beekhuizen 5155bc6c4f
Makes everything pass around 2019-05-30 22:57:18 +02:00
Hsiao-Wei Wang c277703423
Add `compile_deposit_contract` command 2019-05-30 13:26:36 +08:00
Hsiao-Wei Wang 22a3bb2d9f
Merge branch 'dev' into deposit_contract 2019-05-30 09:31:34 +08:00
Danny Ryan d3d8b36365
Merge branch 'dev' into v06x-to-dev 2019-05-27 11:09:52 -06:00
Hsiao-Wei Wang 0ec03db0fb
test 2019-05-27 18:48:40 +08:00
Hsiao-Wei Wang 05dc4b576f
deposit contract requires `eth2spec.phase0.spec.DepositData` 2019-05-27 18:15:33 +08:00
Hsiao-Wei Wang b05444a92c
Update Makefile and CI config
1. Add `install_deposit_contract_test` command
2. Add `test_deposit_contract` command
2019-05-27 15:59:01 +08:00
Carl Beekhuizen a7dbbafc92
Integrates shard-data-chains 2019-05-26 14:14:48 +02:00
Carl Beekhuizen 9058647b67
flake8v3.7->flake8v3.5 2019-05-22 10:28:03 +02:00
Carl Beekhuizen 24c4d21d5e
Minor edits + PEP8 2019-05-21 12:41:24 +02:00
Carl Beekhuizen 6b062405c9
merge dev -> carl-exec-phase1 2019-05-20 20:59:08 +02:00
Carl Beekhuizen 65b0701f8c
Helpers depend on spec version and p1 tests work 2019-05-20 18:14:37 +02:00
Carl Beekhuizen 14ea7d9f40
new spec buildign stratergy 2019-05-16 16:36:35 +02:00
Carl Beekhuizen 49d708e44b
Ok, lets at least pass tests :/ 2019-05-16 12:51:36 +02:00
Carl Beekhuizen b1711b4ff1
Implements parameterised phase1 tests 2019-05-16 12:10:08 +02:00
Hsiao-Wei Wang 2885f853c2
clean up lint 2019-05-16 16:34:07 +08:00
Carl Beekhuizen f3742566f7
The new test structure starts to take shape 2019-05-15 15:02:27 +02:00
Carl Beekhuizen c10fb92776
Merge dev -> dankrad-p-7 2019-05-15 10:36:01 +02:00
Hsiao-Wei Wang d7c1305ce4
Add flake8 check
max-line-length=120
2019-05-09 14:34:16 +08:00
Dankrad Feist 838496c3d4
Fix Makefile 2019-05-09 00:42:59 +01:00
Dankrad Feist 909158ed2d
Correct makefile 2019-05-08 23:41:44 +01:00
Dankrad Feist 6ab55efd3d
Phase 0 tests work on phase 1, yay :) 2019-05-08 23:30:08 +01:00
protolambda d9baee2481
move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00
Dankrad Feist 79c193ff60
Underscores for python modules 2019-05-07 18:07:51 +01:00
Dankrad Feist a604d03dff
Basic phase 1 pulling + correcting syntax errors in phase 1 2019-05-07 12:13:22 +01:00
Danny Ryan 451c28342a
Revert "Only use `setup.py`" 2019-04-24 11:59:13 -06:00
Hsiao-Wei Wang b1874dc18b
Update Makefile and CI setting
1. Move .venv to TEST_LIBS_DIR/
2. Install `config_helpers` separately
2019-04-24 17:19:29 +08:00
Hsiao-Wei Wang 97906a6339
Only use `setup.py` 2019-04-24 17:18:49 +08:00
protolambda aaafe92c5f
update makefile to install requirements for tests correctly 2019-04-24 18:56:49 +10:00
protolambda 7f5cffb286
pytests use configuration system now, add command option to conftest to switch, also fix minor testing bug 2019-04-24 18:56:44 +10:00
Danny Ryan 318188dfd0
Merge branch 'dev' into generators-workflow 2019-04-22 10:56:21 -06:00
protolambda 14ff452314
move yaml output target 2019-04-20 12:28:50 +10:00
protolambda 55aa12d7bd
parallelism support for make gen_yaml_tests 2019-04-20 12:23:10 +10:00
protolambda 8f9133c8c3
update CI config: caching of repo and venv, and split install from tests run 2019-04-20 11:33:15 +10:00
protolambda 90cf8738bf
Move pytests for faster dev iteration 2019-04-17 17:47:56 +10:00
Dankrad Feist 09fe642e0b Fix for Makefile 2019-04-17 05:13:38 +01:00
protolambda f958adbff1
generator running fixes 2019-04-11 19:25:00 +10:00
protolambda 9e010da118
rename pyspec pkg to eth2spec 2019-04-03 14:18:17 +11:00
protolambda 00c3c1e2a6
rename eth2 pkg to pyspec, per request of hww 2019-03-30 00:24:04 +08:00
protolambda 3b132b71aa
refine makefile, update generator doc 2019-03-29 00:24:18 +08:00
protolambda 04d41ddabe
small fixes/tweaks, pytests and yaml generators work well now 2019-03-29 00:16:18 +08:00
protolambda adf91f50c5
run yaml test generators from makefile 2019-03-29 00:05:40 +08:00
protolambda 58f09b20f5
update CI, makefile has test runner now 2019-03-28 23:23:36 +08:00
protolambda ec4d41e15d
fix config, work on py_tests 2019-03-28 02:30:47 +08:00
protolambda a106edacad
Scope pyspec packages, make pyspec more readable, fix imports 2019-03-28 01:21:07 +08:00
protolambda c7da23e6da
update ci config and makefile 2019-03-28 00:49:38 +08:00
Danny Ryan acd7fdd762
add a few voluntary exit tests 2019-03-19 16:00:27 -06:00
Danny Ryan 4440be4e1f
add comment to Makefile 2019-03-18 16:30:16 -06:00
Danny Ryan 55c337a35c
seperate tests 'sanity' and 'minimal-config' vs all 2019-03-18 16:20:24 -06:00
Danny Ryan 6715a0d4cc
reconfigure build a bit 2019-03-18 14:14:26 -06:00
Danny Ryan f41caa713b
add circleci config 2019-03-18 13:06:45 -06:00
Danny Ryan 839590b5f4
initial pytests passing 2019-03-18 12:51:52 -06:00
Danny Ryan 828dd455ba
add basic dependencies and build script for phase0 testing 2019-03-18 10:18:57 -06:00