Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/prepare_test_data.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Prepare test data

on:
schedule:
- cron: "0 0 1 * *" # run once a month to prevent artifact expiration
workflow_dispatch:
# uncomment and adjust the branch name if you need to add new datasets to the artifact
# push:
Expand Down Expand Up @@ -44,7 +46,7 @@ jobs:
done

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: data
path: ./data
10 changes: 2 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Restore pip cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache-dir.outputs.dir }}
key: pip-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}
Expand All @@ -53,18 +53,12 @@ jobs:

- name: Download artifact of test data
if: matrix.python == '3.12'
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v9
with:
workflow: prepare_test_data.yaml
name: data
path: ./data

- name: List the data directory
if: matrix.python == '3.12'
run: |
ls -l ./data
pwd

- name: Test
env:
MPLBACKEND: agg
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ Marconato, L., Palla, G., Yamauchi, K.A. et al. SpatialData: an open and univers
[link-docs]: https://spatialdata.scverse.org/projects/io/en/latest/
[link-api]: https://spatialdata.scverse.org/projects/io/en/latest/api.html
[link-cli]: https://spatialdata.scverse.org/projects/io/en/latest/cli.html

[//]: # (numfocus-fiscal-sponsor-attribution)
[//]: # "numfocus-fiscal-sponsor-attribution"

spatialdata-io is part of the scverse® project ([website](https://scverse.org), [governance](https://scverse.org/about/roles)) and is fiscally sponsored by [NumFOCUS](https://numfocus.org/).
If you like scverse® and want to support our mission, please consider making a tax-deductible [donation](https://numfocus.org/donate-to-scverse) to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_cli_read_generic_image_invalid_data_axes(runner: CliRunner) -> None:
],
)
assert result.exit_code != 0, result.output
assert "'invalid_axes' is not one of 'cyx', 'czyx'." in result.output
assert "data_axes must be a permutation of 'cyx' or 'czyx'." in result.exc_info[1].args[0]


@pytest.mark.parametrize("cli", [True, False])
Expand Down
Loading