Skip to content

Commit

Permalink
move aicsimageio test
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jun 30, 2023
1 parent be6cfda commit 3d378a2
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 58 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,50 @@ jobs:
run: pytest --cov --cov-report=xml

- uses: codecov/codecov-action@v2

test-aicsimageio:
name: test aicsimageio
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: AllenCellModeling/aicsimageio
submodules: true
- uses: actions/checkout@v3
with:
path: ome-types
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install aicsimageio
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install bioformats_jar
- uses: actions/cache@v3
id: cache
with:
path: aicsimageio/tests/resources
key: ${{ hashFiles('scripts/TEST_RESOURCES_HASH.txt') }}

- name: Download Test Resources
if: steps.cache.outputs.cache-hit != 'true'
run: python scripts/download_test_resources.py --debug

- name: Install ome-types
run: |
pip install .
pip list
working-directory: ome-types

- name: Run Tests
run: |
pytest aicsimageio/tests/readers/test_ome_tiff_reader.py \
aicsimageio/tests/readers/extra_readers/test_bioformats_reader.py \
aicsimageio/tests/readers/extra_readers/test_ome_zarr_reader.py \
-v -k "not REMOTE"
58 changes: 0 additions & 58 deletions .github/workflows/test_aics.yml

This file was deleted.

0 comments on commit 3d378a2

Please sign in to comment.