diff --git a/.github/workflows/django-test.yml b/.github/workflows/django-test.yml index d8f5a28..87a6b2d 100644 --- a/.github/workflows/django-test.yml +++ b/.github/workflows/django-test.yml @@ -15,9 +15,14 @@ jobs: uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v3 - - name: Install Poetry - run: python -m pip install --user poetry + - name: Set up package manager and enviorment + run: | + python -m pip install --user poetry + python -m venv venv + source venv/bin/activate - name: Install Dependencies - run: poetry install --no-interaction --no-root + run: | + poetry install --no-interaction --no-root - name: Run Tests - run: python manage.py test + run: | + python manage.py test