Skip to content

Commit

Permalink
Merge pull request #33 from matsui528/ci
Browse files Browse the repository at this point in the history
Updated CI by testing various Python versions with the latest faiss
  • Loading branch information
matsui528 committed Oct 26, 2023
2 parents 1e1dc84 + 34753ca commit 03c1aa4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8] #[3.8, 3.9, 3.10] # The test fails for py 3.10 as of April 2023. Should be updated some day.
python-version: ["3.8", "3.9", "3.10"]

steps:
- name: Checkout
Expand All @@ -25,9 +25,10 @@ jobs:
- name: Install dependencies
shell: bash -l {0} # to activate conda
run: |
python -m pip install --upgrade pip
pip install pytest
pip install . # Install this library
conda install -c pytorch "faiss-cpu<1.7.4" # 1.7.4 doesn't work as of May 2023. Should be updated some day.
conda install -c pytorch faiss-cpu=1.7.4 mkl=2021 blas=1.0=mkl
- name: Test with pytest
shell: bash -l {0} # to activate conda
Expand Down

0 comments on commit 03c1aa4

Please sign in to comment.