Logged Python to ensure correct installation

This commit is contained in:
Elijah 2024-01-14 19:46:13 +01:00
parent 8ef377a611
commit 57538d6320
1 changed files with 2 additions and 3 deletions

View File

@ -27,6 +27,7 @@ jobs:
- name: Check Python version - name: Check Python version
run: | run: |
python3 --version python3 --version
echo "Python version: $(python3 --version)"
- name: Create virtual environment - name: Create virtual environment
run: | run: |
@ -45,7 +46,5 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
source venv/bin/activate source venv/bin/activate
# https://stackoverflow.com/questions/61747698/django-error-when-running-server-locally-attributeerror-list-object-has-no python manage.py test
pip uninstall subprocess.run
python3 manage.py test