Skip to content

Commit

Permalink
Update django-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LTDakin authored Aug 30, 2024
1 parent ebee9c7 commit 9a33331
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/django-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
uses: actions/setup-python@v3
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install --no-interaction --no-root
- name: Start venv
run: source /home/runner/.cache/pypoetry/virtualenvs/bin/activate
- name: Translate to pip
run: |
poetry export --without-hashes -f requirements.txt -o requirements.txt
python3 -m venv venv && . venv/bin/activate
pip install --no-cache-dir --no-deps -r requirements.txt
pip install .
- name: Run Tests
run: python3 manage.py test

0 comments on commit 9a33331

Please sign in to comment.