forked from fsspec/filesystem_spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
104 lines (100 loc) · 1.81 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = {py36,py37,py38,py39}
[core]
conda_channels=
conda-forge
defaults
conda_deps=
pip
paramiko
requests
zstandard
python-snappy
aiohttp
lz4
distributed
dask
'pyarrow >= 1'
panel
notebook
pygit2
git
s3fs
pyftpdlib
cloudpickle
pytest
pytest-benchmark
pytest-cov
pytest-vcr
fusepy
tomli < 2
msgpack-python
python-libarchive-c
numpy
nomkl
jinja2
deps=
hadoop-test-cluster==0.1.0
smbprotocol
py36,py37: importlib_metadata
[testenv]
description=Run test suite against target versions.
conda_channels=
{[core]conda_channels}
conda_deps=
{[core]conda_deps}
deps=
{[core]deps}
commands =
pytest --cov=fsspec -v -r s {posargs}
passenv = CIRUN
[testenv:s3fs]
description=Run s3fs (@master) test suite against fsspec.
extras=s3
conda_channels=
defaults
conda-forge
conda_deps=
{[core]conda_deps}
httpretty
aiobotocore
"moto<2.0"
flask
changedir=.tox/s3fs/tmp
whitelist_externals=
rm
git
setenv=
BOTO_CONFIG=/dev/null
AWS_ACCESS_KEY_ID=foobar_key
AWS_SECRET_ACCESS_KEY=foobar_secret
commands=
rm -rf s3fs
git clone https://github.com/fsspec/s3fs
pytest -vv s3fs/s3fs
[testenv:gcsfs]
description=Run gcsfs (@master) test suite against fsspec.
extras=gcs
conda_channels=
defaults
conda-forge
conda_deps=
{[core]conda_deps}
deps=
{[core]deps}
vcrpy
ujson
google-auth-oauthlib
crcmod
changedir=.tox/gcsfs/tmp
whitelist_externals=
rm
git
setenv=
GCSFS_RECORD_MODE=none
GOOGLE_APPLICATION_CREDENTIALS=gcsfs/gcsfs/tests/fake-secret.json
commands=
rm -rf gcsfs
git clone https://github.com/fsspec/gcsfs
pytest -vv gcsfs/gcsfs -k 'not fuse'