-
Notifications
You must be signed in to change notification settings - Fork 20
39 lines (31 loc) · 1.28 KB
/
py-full-unittests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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:
- name: Install OS dependencies
run: |
sudo apt update
sudo apt install -y build-essential git-all
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install python dependencies (including experimental)
run: |
python -m pip install -U pip setuptools setuptools_scm 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()'
pip freeze
- name: Pytest (--expensive --experimental)
run: |
PYTHONPATH=. pytest -v --durations=0 -rP --experimental --expensive ./api/python/cellxgene_census/tests/