Skip to content

Commit

Permalink
Use Poetry virtualenv in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
praseodym committed Feb 19, 2025
1 parent 628c7b5 commit 7feffb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
- name: Install dependencies using Poetry
run: poetry install
- name: Run migrations
run: python manage.py migrate
run: poetry run ./manage.py migrate
- name: Run tests
run: python manage.py test
run: poetry run ./manage.py test
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,3 @@ flake8 = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[virtualenvs]
create = false

0 comments on commit 7feffb4

Please sign in to comment.