Skip to content

Commit

Permalink
Disable debug in test and update poetry installation
Browse files Browse the repository at this point in the history
Added a `disable_debug` flag while setting up the environment in test_todoon.py to prevent unnecessary debug logs. Updated the GitHub Actions workflow to include installation arguments specific for testing.
  • Loading branch information
trentonyo committed Sep 23, 2024
1 parent 3bf2678 commit 6bd9598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
installation-arguments: --with=testing
- name: Install dependencies
run: poetry install --no-interaction --with testing
- name: Run PyTest with coverage
Expand Down
2 changes: 1 addition & 1 deletion tests/test_todoon.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def test_singular_passages_in_summary(self):
("GITHUB_REF_NAME", "branch"),
("GITHUB_TRIGGERING_ACTOR", "pytest"),
]
self._environment_up("singular", env_variables=env)
self._environment_up("singular", env_variables=env, disable_debug=True)

td.todoon(print_mode=False, silent=True)

Expand Down

0 comments on commit 6bd9598

Please sign in to comment.