diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..84ac07b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +tests/_data/codex_adata.h5ad filter=lfs diff=lfs merge=lfs -text diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 20f64f1..6b0fe2c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,6 +42,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + lfs: true # Ensure LFS files are fetched + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v4 with: diff --git a/tests/_data/codex_adata.h5ad b/tests/_data/codex_adata.h5ad new file mode 100644 index 0000000..0bf8296 --- /dev/null +++ b/tests/_data/codex_adata.h5ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a23434e23cbfb421b2f51593eb71fe5d642c545aca705e4607a4b2a081047bd6 +size 470311644 diff --git a/tests/conftest.py b/tests/conftest.py index 3fec3b9..86dd1b0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,5 +23,5 @@ def adata() -> ad.AnnData: @pytest.fixture() def codex_adata() -> ad.AnnData: - adata = sc.read("tests/_data/codex_adata.h5ad", backup_url="https://figshare.com/ndownloader/files/46832722") + adata = sc.read("tests/_data/codex_adata.h5ad") return adata[adata.obs["sample"].isin(["BALBc-1", "MRL-5"])].copy()