1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Stopped using byte-compiled 3rd-party packages in daily builds for byte-compiled Django.

This commit is contained in:
Mariusz Felisiak 2024-03-18 19:37:04 +01:00 committed by GitHub
parent 9c17010358
commit 0a6ed278d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,10 +55,10 @@ jobs:
- run: python -m pip install . - run: python -m pip install .
- name: Prepare site-packages - name: Prepare site-packages
run: | run: |
SITE_PACKAGE_ROOT=$(python -c 'import site; print(site.getsitepackages()[0])') DJANGO_PACKAGE_ROOT=$(python -c 'import site; print(site.getsitepackages()[0])')/django
echo $SITE_PACKAGE_ROOT echo $DJANGO_PACKAGE_ROOT
python -m compileall -b $SITE_PACKAGE_ROOT python -m compileall -b $DJANGO_PACKAGE_ROOT
find $SITE_PACKAGE_ROOT -name '*.py' -print -delete find $DJANGO_PACKAGE_ROOT -name '*.py' -print -delete
- run: python -m pip install -r tests/requirements/py3.txt - run: python -m pip install -r tests/requirements/py3.txt
- name: Run tests - name: Run tests
run: python tests/runtests.py --verbosity=2 run: python tests/runtests.py --verbosity=2