Skip to content

Commit a54f25e

Browse files
authored
Fix CI on Windows (#384)
1 parent 8c992da commit a54f25e

5 files changed

Lines changed: 12 additions & 11 deletions

File tree

.azure-pipelines/stage-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,15 @@ stages:
6767
displayName: 'Cythonize'
6868
6969
- script: |
70-
python -m pip install -r requirements/ci.txt
71-
displayName: 'Install dependencies'
70+
python setup.py install
71+
displayName: 'Install itself'
7272
env:
7373
MULTIDICT_NO_EXTENSIONS: '$(no_extensions)'
7474
75+
- script: |
76+
python -m pip install -r requirements/pytest.txt
77+
displayName: 'Install dependencies'
78+
7579
- script: |
7680
python -m pip install pytest-azurepipelines
7781
displayName: 'Install pytest-azurepipelines'

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests/*.pickle.* binary

requirements/ci.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
pytest==5.2.2
2-
pytest-cov==2.8.1
31
-e .
2+
-r pytest.txt

requirements/pytest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pytest==5.2.2
2+
pytest-cov==2.8.1

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ def read(f):
6464
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
6565

6666

67-
name = "multidict"
68-
appveyor_slug = "asvetlov/{}".format(name) # FIXME: move under aio-libs/* slug
69-
repo_slug = "aio-libs/{}".format(name)
70-
repo_url = "https://github.com/{}".format(repo_slug)
71-
7267
args = dict(
7368
name="multidict",
7469
version=version,
@@ -86,7 +81,7 @@ def read(f):
8681
],
8782
author="Andrew Svetlov",
8883
author_email="andrew.svetlov@gmail.com",
89-
url=repo_url,
84+
url="https://github.com/aio-libs/multidict",
9085
project_urls={
9186
"Chat: Gitter": "https://gitter.im/aio-libs/Lobby",
9287
"CI: Azure Pipelines": "https://dev.azure.com/aio-libs/multidict/_build",
@@ -97,7 +92,7 @@ def read(f):
9792
},
9893
license="Apache 2",
9994
packages=["multidict"],
100-
python_requires=">=3.5.3",
95+
python_requires=">=3.5",
10196
include_package_data=True,
10297
)
10398

0 commit comments

Comments
 (0)