typo #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Building | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install the latest miniconda. The "test" environment is activated | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
python-version: ${{ matrix.python-version }} | |
- 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 mkl=2021 blas=1.0=mkl | |
- name: Test with pytest | |
shell: bash -l {0} # to activate conda | |
run: | | |
make test |