mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add documentation testing
This commit is contained in:
		| @@ -15,11 +15,12 @@ matrix: | ||||
|  | ||||
| install: | ||||
|     - pip install --requirement requirements.txt | ||||
|  | ||||
|     - pip install sphinx | ||||
| script: | ||||
|     - cd src/ | ||||
|     - pytest --cov | ||||
|     - pycodestyle | ||||
|     - sphinx-build -b html docs docs/_build -W | ||||
|  | ||||
| after_success: | ||||
|     - coveralls | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| [pycodestyle] | ||||
| exclude = migrations, paperless/settings.py | ||||
| exclude = migrations, paperless/settings.py, .tox | ||||
|  | ||||
|  | ||||
| [tool:pytest] | ||||
|   | ||||
							
								
								
									
										12
									
								
								src/tox.ini
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/tox.ini
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ | ||||
|  | ||||
| [tox] | ||||
| skipsdist = True | ||||
| envlist = py34, py35, py36, pycodestyle | ||||
| envlist = py34, py35, py36, pycodestyle, doc | ||||
|  | ||||
| [testenv] | ||||
| commands = pytest | ||||
| @@ -15,8 +15,8 @@ deps = -r{toxinidir}/../requirements.txt | ||||
| commands=pycodestyle | ||||
| deps=pycodestyle | ||||
|  | ||||
| [pycodestyle] | ||||
| exclude= | ||||
|   .tox, | ||||
|   migrations, | ||||
|   paperless/settings.py | ||||
| [testenv:doc] | ||||
| deps = | ||||
|   -r{toxinidir}/../requirements.txt | ||||
|   sphinx | ||||
| commands=sphinx-build -b html ../docs ../docs/_build -W | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ovv
					Ovv