Skip to content

Commit

Permalink
poetry run
Browse files Browse the repository at this point in the history
  • Loading branch information
razumau committed Jul 13, 2024
1 parent f614b62 commit 6202e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Run tests
run: python -m unittest
run: poetry run python -m unittest
env:
DJANGO_POSTGRES_DB_PASSWORD: postgres
DJANGO_POSTGRES_DB_HOST: localhost
Expand All @@ -48,4 +48,4 @@ jobs:
DJANGO_SETTINGS_MODULE: dj.settings
DJANGO_SECRET_KEY: dummy_value
- name: Run Black formatter
run: python -m black . --check
run: poetry run python -m black . --check
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = ""
authors = ["MAII <[email protected]>"]
license = "GNU AGPL"
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "~3.12.0"
Expand Down

0 comments on commit 6202e63

Please sign in to comment.