mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 13:18:12 +08:00
Fix import of anndata from master so that there aren't issues with scanpy version checking. (#1834)
This commit is contained in:
@@ -67,11 +67,6 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: cellxgene
|
path: cellxgene
|
||||||
- name: Checkout tools repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: theislab/anndata
|
|
||||||
path: anndata
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd cellxgene
|
cd cellxgene
|
||||||
@@ -82,7 +77,7 @@ jobs:
|
|||||||
# 2. install cellxgene
|
# 2. install cellxgene
|
||||||
pip install --upgrade cellxgene
|
pip install --upgrade cellxgene
|
||||||
# 3. install anndata
|
# 3. install anndata
|
||||||
cd ../anndata && pip install -e .
|
pip install git+https://github.com/theislab/anndata
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: cd cellxgene && make unit-test ${{ matrix.test-suite }}
|
run: cd cellxgene && make unit-test ${{ matrix.test-suite }}
|
||||||
|
|
||||||
@@ -102,17 +97,11 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: cellxgene
|
path: cellxgene
|
||||||
- name: Checkout tools repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: theislab/anndata
|
|
||||||
path: anndata
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd cellxgene
|
cd cellxgene
|
||||||
sed -i -E 's/^anndata[>=]=[0-9]+.[0-9]+.[0-9]+$/anndata/g' server/requirements.txt
|
sed -i -E 's/^anndata[>=]=[0-9]+.[0-9]+.[0-9]+$/anndata/g' server/requirements.txt
|
||||||
make pydist install-dist dev-env
|
make pydist install-dist dev-env
|
||||||
cd ../anndata
|
pip install git+https://github.com/theislab/anndata
|
||||||
pip install -e .
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: cd cellxgene && make unit-test ${{ matrix.test-suite }}
|
run: cd cellxgene && make unit-test ${{ matrix.test-suite }}
|
||||||
|
|||||||
Reference in New Issue
Block a user