Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfguerrerom committed Aug 6, 2024
1 parent 12ff4af commit 34e8dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install nox
run: python -m pip install nox
- name: test with pytest
run: nox -s test
run: nox -s test -- tests/test_scripts/test_gee.py -vv
- name: codecov
uses: codecov/codecov-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def gee_dir(_hash: str) -> Optional[Path]:
yield gee_dir

# flush the directory and it's content
gee.delete_assets(str(gee_dir), False)
# gee.delete_assets(str(gee_dir), False)

return

Expand Down
1 change: 1 addition & 0 deletions tests/test_scripts/test_gee.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def test_get_assets(gee_dir: Path) -> None:
"subfolder/subfolder_feature_collection",
]

print("###################", list_)
assert len(list_) == len(names)

for item, name in zip(list_, names):
Expand Down

0 comments on commit 34e8dbf

Please sign in to comment.