forked from fsspec/filesystem_spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
135 lines (127 loc) · 2.32 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = {py35,py36,py37}
[core]
conda_channels=
defaults
conda-forge
conda_deps=
pip
paramiko
requests
zstandard
python-snappy
lz4
distributed
dask
pyarrow
pyftpdlib
cloudpickle
pytest
pytest-cov
fusepy==3.0.1
deps=
hadoop-test-cluster==0.1.0
[dev]
conda_deps=
conda-forge::pre-commit=1.18
black=19.3b0
flake8
deps=
[testenv]
description=Run test suite against target versions.
conda_channels=
{[core]conda_channels}
conda_deps=
{[core]conda_deps}
deps=
{[core]deps}
commands =
py.test -v -r s
[testenv:coverage]
description=Run test suite with coverage enabled.
basepython=python3.7
conda_channels=
{[core]conda_channels}
conda_deps=
{[core]conda_deps}
deps=
{[core]deps}
commands =
py.test --cov=fsspec -v -r s
[testenv:dev]
description=Setup conda dev env under '.tox/dev'.
basepython=python3.7
usedevelop=True
conda_channels=
{[core]conda_channels}
conda_deps=
{[core]conda_deps}
{[dev]conda_deps}
deps=
{[core]deps}
{[dev]deps}
commands =
[testenv:lint]
description=Run pre-commit checks.
basepython=python3.7
skip_install=True
conda_deps=
{[dev]conda_deps}
deps=
{[dev]deps}
commands_pre=
pre-commit install --install-hooks
commands=
pre-commit run --all-files --show-diff-on-failure
[testenv:s3fs]
description=Run s3fs (@master) test suite against fsspec.
conda_channels=
defaults
conda-forge
conda_deps=
{[core]conda_deps}
boto3
botocore
httpretty
moto
six
mock
deps=
{[core]deps}
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/dask/s3fs
py.test -vv s3fs/s3fs
[testenv:gcsfs]
description=Run gcsfs (@master) test suite against fsspec.
conda_channels=
defaults
conda-forge
conda_deps=
{[core]conda_deps}
requests
decorator
google-auth
deps=
{[core]deps}
vcrpy
google-auth-oauthlib
changedir=.tox/gcsfs/tmp
whitelist_externals=
rm
git
setenv=
GCSFS_RECORD_MODE=none
commands=
rm -rf gcsfs
git clone https://github.com/dask/gcsfs
py.test -vv gcsfs/gcsfs -k 'not fuse'