Skip to content

Commit

Permalink
Update django.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guglielmo authored Apr 9, 2024
1 parent 43d1877 commit 7ffb77e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,11 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Print environment variables
run: echo "PYTHON_LOCATION=$PYTHON_LOCATION"
- name: Install dependencies from pyproject.toml
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Activate virtual environment
run: source ${{ env.pythonLocation }}/bin/activate
- name: Check installed packages
run: pip list
- name: Test with Django's test framework
run: python demoproject/manage.py test
run: poetry run demoproject/manage.py test

0 comments on commit 7ffb77e

Please sign in to comment.