Skip to content

Commit b34ba1b

Browse files
committed
run eest tests in py3
1 parent 55c4463 commit b34ba1b

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Run Tox (CPython)
4747
if: "${{ !startsWith(matrix.py, 'pypy') }}"
48-
run: tox -e static,optimized,py3
48+
run: tox -e static,py3_eest,optimized,py3
4949

5050
- name: Run Tox (PyPy)
5151
if: "${{ startsWith(matrix.py, 'pypy') }}"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ pip-delete-this-directory.txt
5858
tests/execution-spec-generated-tests
5959
tests/fixtures
6060
tests/t8n_testdata
61+
62+
fixtures

tox.ini

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
min_version = 2.0
3-
envlist = py3,pypy3,static
3+
envlist = py3,pypy3,py3_eest,static
44

55
[testenv:static]
66
extras =
@@ -30,7 +30,22 @@ commands =
3030
--no-cov-on-fail \
3131
--cov-branch \
3232
--ignore-glob='tests/fixtures/*' \
33-
--basetemp="{temp_dir}/pytest"
33+
--basetemp="{temp_dir}/pytest" \
34+
tests
35+
36+
[testenv:py3_eest]
37+
extras =
38+
test
39+
setenv =
40+
COVERAGE_FILE = {toxworkdir}/.coverage
41+
commands =
42+
pytest \
43+
-m "not slow and not zkevm" \
44+
-n auto --maxprocesses 10 \
45+
--basetemp="{temp_dir}/pytest" \
46+
--clean \
47+
eest_tests
48+
3449

3550
[testenv:pypy3]
3651
extras =
@@ -45,7 +60,9 @@ commands =
4560
-m "not slow" \
4661
-n auto --maxprocesses 5 \
4762
--ignore-glob='tests/fixtures/*' \
63+
--ignore-glob='eest_tests/*' \
4864
--basetemp="{temp_dir}/pytest"
65+
tests
4966

5067
[testenv:optimized]
5168
extras =
@@ -59,8 +76,10 @@ commands =
5976
-n auto --maxprocesses 5 \
6077
--ignore-glob='tests/fixtures/*' \
6178
--ignore-glob='tests/test_t8n.py' \
79+
--ignore-glob='eest_tests/*' \
6280
--basetemp="{temp_dir}/pytest" \
6381
--optimized
82+
tests
6483

6584
[testenv:doc]
6685
basepython = python3

0 commit comments

Comments
 (0)