python 3.9 #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test | |
| on: | |
| push: | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| build_wheels: | |
| name: ${{ matrix.os }} Wheels | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| # Ensure that a wheel builder finishes even if another fails | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ['3.9'] | |
| steps: | |
| - name: Checkout ${{ github.repository }} | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Dependencies | |
| run: pip install . | |
| - name: Test | |
| run: | | |
| python -c "\ | |
| import pandas as pd | |
| import numpy as np | |
| import anndata | |
| from delve import * | |
| adata = anndata.read_h5ad('data/adata_RPE.h5ad') | |
| delta_mean, modules, ranked_features = delve_fs(adata = adata, n_pcs = 50, k = 10, num_subsamples = 1000, n_clusters = 5, random_state = 0, n_jobs = -1, null_iterations=1000) | |
| " |