diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b32cba..abcff11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: run: poetry env use "${{ matrix.python-version }}" - name: Install deps - run: poetry install + run: poetry install --only=test - name: Run tests run: poetry run pytest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 146e3dd..5ce5e95 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,9 +22,6 @@ jobs: python-version: "3" cache: "poetry" - - name: Install Dev dependencies - run: poetry install - - name: Wait for tests to succeed uses: fountainhead/action-wait-for-check@v1.0.0 id: wait-for-ci diff --git a/.readthedocs.yml b/.readthedocs.yml index f70e24c..d15f940 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,10 +9,12 @@ version: 2 sphinx: configuration: docs/conf.py -python: - version: 3.7 - install: - - method: pip - path: . - extra_requirements: - - docs +build: + os: ubuntu-20.04 + tools: + python: '3.10' + jobs: + post_install: + - pip install poetry==1.2.0b1 + - poetry config virtualenvs.create false + - poetry install --only=docs diff --git a/pyproject.toml b/pyproject.toml index 7a53c0c..ec7deaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,14 +39,13 @@ click = "*" colorama = "*" requests = "*" importlib-metadata = {version = "*", python = "<3.10"} +typing-extensions = "*" -[tool.poetry.group.dev.dependencies] -tox = "*" +[tool.poetry.group.lint.dependencies] black = "*" isort = "*" flake8 = "*" mypy = "*" -typing-extensions = "*" [tool.poetry.group.test.dependencies] pytest = "*" @@ -60,7 +59,6 @@ sphinx = "*" sphinx_autodoc_typehints = "*" sphinxcontrib-programoutput = "*" - [tool.poetry.group.types.dependencies] types-colorama = "^0.4.15" types-requests = "^2.28.11.2"