Skip to content

Before trying hybrid gpu/cpu idea #93

Before trying hybrid gpu/cpu idea

Before trying hybrid gpu/cpu idea #93

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Mamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
init-shell: bash
- name: Install Torch (CPU)
run: |
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
- name: Install Pip Requirements
run: |
python -m pip install -r requirements.txt
- name: Install DARTsort
run: |
python -m pip install -e .
- name: Pytest
run: |
python -m pytest tests/*