mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 06:25:45 +00:00
removed doc-building workflow and tox usage
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
232b7c192b
commit
f0634b18ae
35
.github/workflows/documenation.yml
vendored
35
.github/workflows/documenation.yml
vendored
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -53,7 +53,6 @@ pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
|
||||
@ -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
|
||||
|
||||
1
setup.py
1
setup.py
@ -103,7 +103,6 @@ tests_require = [
|
||||
"pytest-flask",
|
||||
"pytest-aiohttp",
|
||||
"pytest-asyncio",
|
||||
"tox",
|
||||
] + docs_require
|
||||
|
||||
install_requires = [
|
||||
|
||||
31
tox.ini
31
tox.ini
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user