Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 1ae8ed2

Browse files
author
Jan Xie
authored
Merge pull request #752 from gsalgado/test-minimal
New Makefile rule to run just a minimal set of tests
2 parents 0173c54 + 98d5ed2 commit 1ae8ed2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ install:
2727
- travis_retry pip install tox
2828
- travis_retry pip install coverage
2929
- travis_retry pip install flake8
30+
- travis_retry python setup.py install
31+
- travis_retry pip install -r dev_requirements.txt
3032
script:
31-
make lint-minimal
33+
- make lint-minimal
34+
- make test-minimal
3235
# XXX: For now we're only performing minimal CI checks as most tests are
3336
# broken. Tests will be individually added here as they're fixed.
3437
#- if [ -d .tox/$TOX_ENV/ ]; then cd .tox/$TOX_ENV && coverage erase; fi;

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ lint-minimal:
4545
test:
4646
py.test --tb=no ethereum/tests/
4747

48+
test-minimal:
49+
py.test ethereum/tests/test_abi.py ethereum/tests/test_bloom.py ethereum/tests/test_chain.py ethereum/tests/test_compress.py ethereum/tests/test_db.py ethereum/tests/test_difficulty.py ethereum/tests/test_opcodes.py ethereum/tests/test_trie_next_prev.py ethereum/tests/test_utils.py
50+
4851
testnovm:
4952
py.test --tb=no ethereum/tests/ --ignore=ethereum/tests/test_vm.py
5053

0 commit comments

Comments
 (0)