Skip to content

Add draft of Test action #7

Add draft of Test action

Add draft of Test action #7

Workflow file for this run

name: AWS GPU
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: [self-hosted, aws-gpu] # aws-gpu == label in cirun.yml
steps:
- uses: actions/checkout@v2
- name: Nvidia SMI sanity check
run: nvidia-smi
- name: Create conda environment
run: |
conda create -yn anndata-gpu python=3.10 cupy
conda activate anndata-gpu
pip install .[dev,test]
- name: Conda list
run: conda list
- name: Run test
run: python -c 'import anndata, cupy; cupyx.scipy.sparse.random(100, 50, format="csr")'