Skip to content

Commit 48a6d3d

Browse files
committed
Fix PR test workflow
1 parent 434aa9f commit 48a6d3d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@ jobs:
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242

43-
- name: Install Deps
44-
if: steps.release.outputs.version == 0
45-
run: |
46-
pip install --upgrade setuptools pip wheel
47-
pip download --dest=/tmp/deps .[test]
48-
pip install -U --no-index --find-links=/tmp/deps /tmp/deps/*
49-
5043
- name: Test
5144
if: steps.release.outputs.version == 0
5245
run: |
53-
python setup.py build_ext --inplace
46+
pip install -e .[test]
5447
python setup.py test

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,9 @@ def build_extensions(self):
184184
include_package_data=True,
185185
test_suite='tests.suite',
186186
setup_requires=setup_requires,
187+
extras_require={
188+
'test': [
189+
CYTHON_DEPENDENCY
190+
]
191+
}
187192
)

0 commit comments

Comments
 (0)