Skip to content
Snippets Groups Projects
Commit 62cb5c9f authored by Martin Larralde's avatar Martin Larralde
Browse files

Update `package.yml` to install tests requirements before testing

parent b5b59ad9
No related branches found
Tags v0.4.0
No related merge requests found
......@@ -74,6 +74,11 @@ jobs:
path: dist
- name: Install built wheel
run: python -m pip install --no-index --find-links=dist pyfastani
- name: Install numpy
run: python -m pip install numpy
if: ${{ !startsWith(matrix.python-version != 'pypy' }}
- name: Install tests requirements
run: python -m pip install -r pyfastani/tests/requirements.txt
- name: Run tests without coverage
run: python -m unittest pyfastani.tests -vv
......@@ -88,7 +93,6 @@ jobs:
- 3.7
- 3.8
- 3.9
- pypy-3.6
- pypy-3.7
steps:
- name: Checkout code
......@@ -138,6 +142,11 @@ jobs:
path: dist
- name: Install built wheel
run: python -m pip install --no-index --find-links=dist pyfastani
- name: Install numpy
run: python -m pip install numpy
if: ${{ !startsWith(matrix.python-version != 'pypy' }}
- name: Install tests requirements
run: python -m pip install -r pyfastani/tests/requirements.txt
- name: Run tests without coverage
run: python -m unittest pyfastani.tests -vv
......
......@@ -66,6 +66,7 @@ jobs:
run: python setup.py build_ext --inplace --debug
- name: Install numpy
run: python -m pip install numpy
if: ${{ !startsWith(matrix.python-version != 'pypy' }}
- name: Install tests requirements
run: python -m pip install -r pyfastani/tests/requirements.txt
- name: Test with coverage
......@@ -137,6 +138,7 @@ jobs:
- name: Build C extension
run: python setup.py build_ext --inplace --debug
- name: Install numpy
if: ${{ matrix.python-impl != 'PyPy' }}
run: python -m pip install numpy
- name: Install tests requirements
run: python -m pip install -r pyfastani/tests/requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment