Skip to content

fix email address

fix email address #84

Workflow file for this run

name: Test Python package
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
python: [3.8]
java: [13]
os: ['ubuntu-latest'] #
architecture: ['x64']
terrier: ['snapshot'] #'5.3', '5.4-SNAPSHOT',
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
distribution: 'zulu'
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
python-version: ${{ matrix.python }}
conda-channels: anaconda, conda-forge
activate-conda: true
# follows https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
- name: Loading Torch models from cache
uses: actions/cache@v3
with:
path: /home/runner/.cache/
key: model-cache
- name: Install Python dependencies
run: |
pip install --upgrade --upgrade-strategy eager -r requirements.txt -r requirements-dev.txt
conda install -c pytorch faiss-cpu=1.7.4 mkl=2021 blas=1.0=mkl
- name: All unit tests
env:
TERRIER_VERSION: ${{ matrix.terrier }}
run: |
pytest -s