Skip to content

inference.py: add batch_size argument to rank() #33

inference.py: add batch_size argument to rank()

inference.py: add batch_size argument to rank() #33

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel setuptools_scm cython numpy
- name: Build and install package
run: |
python setup.py build_ext --inplace
python -m pip install .
- name: Test installation
run: |
python -m unittest discover -s tests