Skip to content

Commit

Permalink
- Fix testing workflow v4
Browse files Browse the repository at this point in the history
  • Loading branch information
onstabb committed Sep 29, 2023
1 parent 5dfe707 commit 1bb5d08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ jobs:

- name: Run Tests
run: |
pip install pytest pytest-cov
pytest . --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
pytest
3 changes: 0 additions & 3 deletions src/geodata/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,5 @@ def close(self) -> None:
self.__conn.close()
log.info("Disconnected")

def __del__(self) -> None:
self.close()


geonames_db = GeoNamesSqlite()

0 comments on commit 1bb5d08

Please sign in to comment.