Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixS90 committed Jun 4, 2024
1 parent b73a749 commit 5f2077c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 2 additions & 1 deletion pylibCZIrw/tests/integration/metadata/test_metadata_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down
3 changes: 2 additions & 1 deletion pylibCZIrw/tests/integration/read/test_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down

0 comments on commit 5f2077c

Please sign in to comment.