Skip to content

Commit

Permalink
Update django-test.yml
Browse files Browse the repository at this point in the history
using poetry run
  • Loading branch information
LTDakin authored Sep 3, 2024
1 parent 127eabf commit 0b6f062
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/django-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,12 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
- name: Start virtual enviorment
run: |
python3 -m venv venv
source venv/bin/activate
- name: Install Poetry
run: |
python3 -m pip install poetry
- name: Install Django
run: |
python3 -m pip install django
- name: Install Dependencies
run: |
poetry install --no-interaction --no-root
python -m pip install --upgrade pip
python -m pip install poetry
poetry env info
poetry install
- name: Run Tests
run: |
python3 manage.py test
poetry run python manage.py test

0 comments on commit 0b6f062

Please sign in to comment.