Skip to content

Commit

Permalink
Merge pull request #51 from VIDA-NYU/dhodcz2
Browse files Browse the repository at this point in the history
Add testing, improve logging, improve interactive inference
  • Loading branch information
Mary-h86 authored Jan 25, 2024
2 parents b2baa63 + 8f73c4b commit c42fefd
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow warns and then closes issues that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '18 18 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "We are closing this issue due to inactivity. If you have any further questions or need assistance, please feel free to reopen the issue. We will be glad to help!"
stale-issue-label: 'no-issue-activity'
days-before-stale: 30
days-before-close: 5
exempt-issue-labels: 'stay-open'
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
with:
python-version: '3.11'
architecture: 'x64'
# cache: 'pip'
# cache-dependency-path: requirements-dev.txt

- name: Install Dependencies
run: |
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,3 @@ include = ["tile2net*"]
testpaths = [ "src/tile2net/tests" ]
python_files = ["test_local.py"]

#[tool.poetry]
## Other poetry configurations ...
#
include = ["src/tile2net/raster/resources/segmentation/**/*.npy"]
3 changes: 2 additions & 1 deletion tests/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ def test_small():
location='Washington Square Park, New York, NY, USA',
zoom=19,
# dump_percent=1,
name='small'
# name='small'
name='tiny'
)

raster.generate(2)
Expand Down

0 comments on commit c42fefd

Please sign in to comment.