mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Compare commits
5 commits
main
...
speed-up-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d7f5f61fd |
||
|
|
69b3a6c7dd |
||
|
|
22831a1ac8 |
||
|
|
b9046332c4 |
||
|
|
749b6f0d74 |
2 changed files with 15 additions and 4 deletions
|
|
@ -7,7 +7,13 @@ python:
|
||||||
|
|
||||||
# Executed for 3.5 AND 3.5 as the first "test" stage:
|
# Executed for 3.5 AND 3.5 as the first "test" stage:
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- pip install -U pip wheel
|
||||||
|
- pip install .[test]
|
||||||
|
- pytest
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
|
|
||||||
# This defines further stages that execute after the tests
|
# This defines further stages that execute after the tests
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -47,10 +47,15 @@ setup(
|
||||||
datasette=datasette.cli:cli
|
datasette=datasette.cli:cli
|
||||||
''',
|
''',
|
||||||
setup_requires=['pytest-runner'],
|
setup_requires=['pytest-runner'],
|
||||||
|
extras_require={
|
||||||
|
'test': [
|
||||||
|
'pytest==3.6.0',
|
||||||
|
'aiohttp==2.3.2',
|
||||||
|
'beautifulsoup4==4.6.0',
|
||||||
|
]
|
||||||
|
},
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'pytest==3.6.0',
|
'datasette[test]',
|
||||||
'aiohttp==2.3.2',
|
|
||||||
'beautifulsoup4==4.6.0',
|
|
||||||
],
|
],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue