Skip to content

Commit 4467550

Browse files
committed
run eest tests in py3
1 parent 8b22555 commit 4467550

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-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: 22 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,23 @@ 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+
-c pytest-eest.ini \
44+
-m "not slow and not zkevm" \
45+
-n auto --maxprocesses 10 \
46+
--basetemp="{temp_dir}/pytest" \
47+
--clean \
48+
eest_tests/tests
49+
3450

3551
[testenv:pypy3]
3652
extras =
@@ -45,7 +61,9 @@ commands =
4561
-m "not slow" \
4662
-n auto --maxprocesses 5 \
4763
--ignore-glob='tests/fixtures/*' \
64+
--ignore-glob='eest_tests/*' \
4865
--basetemp="{temp_dir}/pytest"
66+
tests
4967

5068
[testenv:optimized]
5169
extras =
@@ -59,8 +77,10 @@ commands =
5977
-n auto --maxprocesses 5 \
6078
--ignore-glob='tests/fixtures/*' \
6179
--ignore-glob='tests/test_t8n.py' \
80+
--ignore-glob='eest_tests/*' \
6281
--basetemp="{temp_dir}/pytest" \
6382
--optimized
83+
tests
6484

6585
[testenv:doc]
6686
basepython = python3

0 commit comments

Comments
 (0)