diff --git a/.github/workflows/test-publish-to-pypi.yml b/.github/workflows/test-publish-to-pypi.yml index 36d94b3..6eda495 100644 --- a/.github/workflows/test-publish-to-pypi.yml +++ b/.github/workflows/test-publish-to-pypi.yml @@ -19,7 +19,7 @@ jobs: echo $build_version poetry version $build_version - run: poetry build - - run: pip install "dist/deepcov-$(poetry version -s).tar.gz" + - run: pip install "dist/pytest-deepcov-$(poetry version -s).tar.gz" - run: pip install twine - run: ls -la dist - run: twine upload --repository testpypi dist/* -ualex-treebeard-test -p${{ secrets.TEST_PYPI_PASSWORD }} diff --git a/python-cli/pyproject.toml b/python-cli/pyproject.toml index 81a00d3..36fbafa 100644 --- a/python-cli/pyproject.toml +++ b/python-cli/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "deepcov" +name = "pytest-deepcov" version = "0.0.1" license = "Apache-2.0" homepage = "https://github.com/treebeardtech/deepcov" diff --git a/python-cli/tests/test_cli.py b/python-cli/tests/test_cli.py index 778cbac..305c727 100644 --- a/python-cli/tests/test_cli.py +++ b/python-cli/tests/test_cli.py @@ -3,11 +3,12 @@ import pytest from click.testing import CliRunner -from deepcov import cli from deepcov.cli import File from snapshottest.pytest import PyTestSnapshotTest from tests.util import RESOURCES +from deepcov import cli + pytest_plugins = "pytester" import shutil import sys