Skip to content

Commit

Permalink
Updated actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Achard committed Mar 3, 2023
1 parent 816bb48 commit e2295a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches:
- main
- npe2
- cy/interface-overhaul
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
Expand All @@ -28,10 +27,10 @@ jobs:
python-version: [3.8, 3.9] # 3.10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
11 changes: 5 additions & 6 deletions napari_cellseg3d/_tests/test_weight_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

# DISABLED, causes GitHub actions to freeze
def test_weight_download():
pass
# downloader = WeightsDownloader()
# downloader.download_weights("test", "test.pth")
# result_path = WEIGHTS_DIR / "test.pth"
#
# assert result_path.is_file()
downloader = WeightsDownloader()
downloader.download_weights("test", "test.pth")
result_path = WEIGHTS_DIR / "test.pth"

assert result_path.is_file()

0 comments on commit e2295a1

Please sign in to comment.