From d8231a9a3b83aa74305bf66d7528e413137cc1ad Mon Sep 17 00:00:00 2001 From: Matt Weiden <538456+mweiden@users.noreply.github.com> Date: Tue, 10 Mar 2020 08:19:36 -0700 Subject: [PATCH] Fixes to compatibility tests (#1205) * Unpin anndata ver in tests against anndata master * Add branch config to work on push * Add links to tests in GitHub Actions status badges * Remove temporary branch name --- .github/workflows/compatibility_tests.yml | 10 ++++++++-- README.md | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compatibility_tests.yml b/.github/workflows/compatibility_tests.yml index 64d8049e..371d1311 100644 --- a/.github/workflows/compatibility_tests.yml +++ b/.github/workflows/compatibility_tests.yml @@ -3,6 +3,9 @@ name: Compatibility Tests on: schedule: - cron: '0 8 7 * 2' + push: + branches: + - master env: JEST_ENV: prod @@ -95,7 +98,10 @@ jobs: path: anndata - name: Install dependencies run: | - cd cellxgene && make pydist install-dist dev-env - cd ../anndata && pip install -e . + cd cellxgene + sed -i.bu -E 's/^anndata[>=]=[0-9]+.[0-9]+.[0-9]+$/anndata/g' server/requirements.txt + make pydist install-dist dev-env + cd ../anndata + pip install -e . - name: Tests run: cd cellxgene && make unit-test ${{ matrix.test-suite }} diff --git a/README.md b/README.md index 9f511fe2..73114b36 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ _an interactive explorer for single-cell transcriptomics data_ [![DOI](https://zenodo.org/badge/105615409.svg)](https://zenodo.org/badge/latestdoi/105615409) [![PyPI](https://img.shields.io/pypi/v/cellxgene)](https://pypi.org/project/cellxgene/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/cellxgene)](https://pypistats.org/packages/cellxgene) [![GitHub last commit](https://img.shields.io/github/last-commit/chanzuckerberg/cellxgene)](https://github.com/chanzuckerberg/cellxgene/pulse) -![Push Tests](https://github.com/chanzuckerberg/cellxgene/workflows/Push%20Tests/badge.svg) -![Compatibility Tests](https://github.com/chanzuckerberg/cellxgene/workflows/Compatibility%20Tests/badge.svg) +[![Push Tests](https://github.com/chanzuckerberg/cellxgene/workflows/Push%20Tests/badge.svg)](https://github.com/chanzuckerberg/cellxgene/actions?query=workflow%3A%22Push+Tests%22) +[![Compatibility Tests](https://github.com/chanzuckerberg/cellxgene/workflows/Compatibility%20Tests/badge.svg)](https://github.com/chanzuckerberg/cellxgene/actions?query=workflow%3A%22Compatibility+Tests%22) ![Code Coverage](https://codecov.io/gh/chanzuckerberg/cellxgene/branch/master/graph/badge.svg) cellxgene (pronounced "cell-by-gene") is an interactive data explorer for single-cell transcriptomics datasets, such as those coming from the [Human Cell Atlas](https://humancellatlas.org). Leveraging modern web development techniques to enable fast visualizations of at least 1 million cells, we hope to enable biologists and computational researchers to explore their data.