Skip to content

update scripts

update scripts #71

Workflow file for this run

name: run pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then cat requirements.txt | xargs -n 1 -L 1 pip install; fi
pip install pytest
pip install torch-choice
- name: Install the package
run: python setup.py install --user
- name: Test with pytest
run: pytest