From f0634b18ae9f7b36b70617b2dfc53b51a373dc28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Wed, 21 Dec 2022 15:48:07 +0100 Subject: [PATCH] removed doc-building workflow and tox usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- .github/workflows/documenation.yml | 35 ------------------------------ .gitignore | 1 - docker-compose.yml | 1 - setup.py | 1 - tox.ini | 31 -------------------------- 5 files changed, 69 deletions(-) delete mode 100644 .github/workflows/documenation.yml delete mode 100644 tox.ini diff --git a/.github/workflows/documenation.yml b/.github/workflows/documenation.yml deleted file mode 100644 index 4cda540..0000000 --- a/.github/workflows/documenation.yml +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright © 2020 Interplanetary Database Association e.V., -# Planetmint and IPDB software contributors. -# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) -# Code is Apache-2.0 and docs are CC-BY-4.0 - -name: Documentation -on: [push, pull_request] - -jobs: - documentation: - runs-on: ubuntu-latest - - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - - name: Setup python - uses: actions/setup-python@v4 - with: - python-version: 3.9 - - - name: Install tox - run: python -m pip install --upgrade tox tox-gh-actions - - - name: Install dependencies - run: pip install .'[dev]' - - - name: Run tox - run: tox -e docsroot - - - - - - \ No newline at end of file diff --git a/.gitignore b/.gitignore index 16cd16f..411bda4 100644 --- a/.gitignore +++ b/.gitignore @@ -53,7 +53,6 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ -.tox/ .coverage .coverage.* .cache diff --git a/docker-compose.yml b/docker-compose.yml index 88b30d6..7b6102c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,6 @@ services: - ./setup.py:/usr/src/app/setup.py - ./setup.cfg:/usr/src/app/setup.cfg - ./pytest.ini:/usr/src/app/pytest.ini - - ./tox.ini:/usr/src/app/tox.ini environment: PLANETMINT_DATABASE_BACKEND: tarantool_db PLANETMINT_DATABASE_HOST: tarantool diff --git a/setup.py b/setup.py index aea37c9..a9fc93b 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,6 @@ tests_require = [ "pytest-flask", "pytest-aiohttp", "pytest-asyncio", - "tox", ] + docs_require install_requires = [ diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 853028d..0000000 --- a/tox.ini +++ /dev/null @@ -1,31 +0,0 @@ -[tox] -skipsdist = true -envlist = py{39}, docsroot - -[gh-actions] -python = - 3.9 = docsroot - -[base] -basepython = python3.9 -deps = pip>=9.0.1 - -[testenv] -usedevelop = True -setenv = - PYTHONPATH={toxinidir}:{toxinidir}/planetmint -deps = {[base]deps} -install_command = pip install {opts} {packages} -extras = test -commands = pytest -v -n auto --cov=planetmint --basetemp={envtmpdir} - -[testenv:docsroot] -basepython = {[base]basepython} -changedir = docs/root/source -deps = - {[base]deps} - typing-extensions - -r{toxinidir}/docs/root/requirements.txt -extras = None -commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html -