Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
Build:
name: ${{ matrix.name }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
env:
NPY_DISABLE_CPU_FEATURES: "AVX512F,AVX512_SKX,SSE4_2"
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -83,5 +85,16 @@ jobs:

- name: Tests
run: |
# 1. Create a clean virtual environment
python -m venv venv
source venv/bin/activate

# 2. Install NumPy from source WITHIN the venv
pip install --no-binary numpy,scipy numpy scipy

# 3. Install the project and test requirements
pip install .
pip install -r python/tests/requirements.txt

# 4. Run tests using the venv's nose2
nose2 -v --pretty-assert -s python/tests
Loading