Skip to content

Commit

Permalink
Install with dev
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety committed Oct 13, 2023
1 parent 3fb76a7 commit 4e6aab1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker_build/bake_ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ target "ci_with_src" {
"COPY --from=bake_ctx_dl_src_terrarium / /src/",
"COPY --from=bake_ctx_dl_src_ci / /src/",
"RUN . /venv/bin/activate && pip install -e /src/terrarium/bi_ci",
"RUN . /venv/bin/activate && cd /src/metapkg/ && poetry install --no-root --without=dev --with=ci",
"RUN . /venv/bin/activate && cd /src/metapkg/ && poetry install --no-root --with=dev --with=ci",
# todo: include stubs into the metapkg pyproject.toml
"RUN . /venv/bin/activate && pip install -r /src/ci/requirements_types.txt"
])
Expand Down
1 change: 1 addition & 0 deletions lib/dl_core/dl_core_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin'
3 changes: 0 additions & 3 deletions lib/dl_core/dl_core_tests/db/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
from dl_core_tests.db.config import CORE_TEST_CONFIG


pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin'


def pytest_configure(config): # noqa
initialize_core_test(pytest_config=config, core_test_config=CORE_TEST_CONFIG)
3 changes: 0 additions & 3 deletions lib/dl_core/dl_core_tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import pytest


pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin'


@pytest.fixture
def loop(event_loop):
asyncio.set_event_loop(event_loop)
Expand Down

0 comments on commit 4e6aab1

Please sign in to comment.