Skip to content

Commit 0e6f246

Browse files
committed
added asyncio requirements to workflow and tox
1 parent a36ecd2 commit 0e6f246

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/e2e-master.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
python -m pip install --upgrade pip
3939
python -m pip install -r requirements.txt
4040
python -m pip install -r test-requirements.txt
41+
python -m pip install -r requirements-asyncio.txt
42+
python -m pip install -r test-requirements-asyncio.txt
4143
- name: Install package
4244
run: python -m pip install -e .
4345
- name: Run End to End tests
44-
run: pytest -vvv -s kubernetes/e2e_test
46+
run: pytest -vvv -s kubernetes/e2e_test -s kubernetes_asyncio/e2e_test

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: |
2525
python -m pip install --upgrade pip
2626
pip install -r requirements.txt
27+
pip install -r requirements-asyncio.txt
2728
- name: Lint with flake8
2829
run: |
2930
pip install flake8

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ usedevelop = True
99
install_command = pip install -U {opts} {packages}
1010
deps = -r{toxinidir}/test-requirements.txt
1111
-r{toxinidir}/requirements.txt
12+
-r{toxinidir}/requirements-asyncio.txt
13+
-r{toxinidir}/test-requirements-asyncio.txt
1214
commands =
1315
python -V
14-
!functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test
16+
!functional: pytest -vvv -s {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test --ignore=kubernetes_asyncio/e2e_test
1517
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []
1618
coverage: python -m coverage xml
1719
setenv =

0 commit comments

Comments
 (0)