diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index 3a45644..5e5a820 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -67,7 +67,7 @@ jobs: run: check-python-versions ${{ github.workspace }}\${{inputs.PkgRootFolder}} --only tox.ini,setup.py - name: Black Static Analysis if: success() || failure() - run: black -v --line-length 120 --safe --check . + run: black -v --line-length 120 --safe --check --diff --color . working-directory: "${{ github.workspace }}/${{inputs.PySourceFolder}}" - name: Flake8 Static Analysis if: success() || failure() diff --git a/pylibCZIrw/tests/integration/metadata/test_metadata_uri.py b/pylibCZIrw/tests/integration/metadata/test_metadata_uri.py index 66700c6..3ea171f 100644 --- a/pylibCZIrw/tests/integration/metadata/test_metadata_uri.py +++ b/pylibCZIrw/tests/integration/metadata/test_metadata_uri.py @@ -8,7 +8,8 @@ working_dir = os.path.dirname(os.path.abspath(__file__)) -CZI_DOCUMENT_TEST1 = os.path.join(working_dir, "test_data", "c1_bgr24_t1_z1_h1.czi") +# Note: This file is not part of the repo and so is untracked. If tests fail, make sure that this have not been deleted. +CZI_DOCUMENT_TEST1 = "https://cadevelop.blob.core.windows.net/public/pylibCZIrwTestFiles/c1_bgr24_t1_z1_h1.czi" EXPECTED_METADATA_TEST1 = os.path.join(working_dir, "test_data", "c1_bgr24_t1_z1_h1_metadata.txt") diff --git a/pylibCZIrw/tests/integration/read/test_read.py b/pylibCZIrw/tests/integration/read/test_read.py index 41b790d..d545bfc 100644 --- a/pylibCZIrw/tests/integration/read/test_read.py +++ b/pylibCZIrw/tests/integration/read/test_read.py @@ -49,7 +49,8 @@ EXPECTED_PLANE_S1_C0_Z4_T1_TEST8 = np.load( os.path.join(working_dir, "../test_data", "c2_gray8_t3_z5_s2_plane_s1_c0_z4_t1.npz") )["arr"] -CZI_DOCUMENT_TEST9 = os.path.join(working_dir, "../test_data", "c1_bgr24.czi") +# Note: This file is not part of the repo and so is untracked. If tests fail, make sure that this have not been deleted. +CZI_DOCUMENT_TEST9 = "https://cadevelop.blob.core.windows.net/public/pylibCZIrwTestFiles/c1_bgr24.czi" EXPECTED_PLANE_TEST9 = np.load(os.path.join(working_dir, "../test_data", "c1_bgr24_plane.npz"))["arr"]