Logged Python to ensure correct installation
This commit is contained in:
parent
8ef377a611
commit
57538d6320
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue