Python cellxgene_census package full unit tests #5
Workflow file for this run
This file contains 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: Python cellxgene_census package full unit tests | |
# Run all Python unit tets, including those that are too expensive to run frequently. | |
on: | |
workflow_dispatch: # used for debugging or manual validation | |
jobs: | |
all_unit_tests: | |
runs-on: single-cell-1tb-runner | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install OS dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential git-all | |
- name: Install python dependencies (including experimental) | |
run: | | |
python -m pip install -U pip setuptools wheel | |
pip install --use-pep517 accumulation-tree # Geneformer dependency needs --use-pep517 for Cython | |
pip install -r ./api/python/cellxgene_census/scripts/requirements-dev.txt | |
pip install './api/python/cellxgene_census/[experimental]' | |
- name: Log debugging info | |
run: | | |
python -c 'import tiledbsoma; tiledbsoma.show_package_versions()' | |
- name: Pytest (--expensive --experimental) | |
run: | | |
PYTHONPATH=. pytest -v --durations=0 -rP --experimental --expensive ./api/python/cellxgene_census/tests/ -k test_incremental_read_obs |