Skip to content

Commit

Permalink
Stopped using byte-compiled 3rd-party packages in daily builds for by…
Browse files Browse the repository at this point in the history
…te-compiled Django.
  • Loading branch information
felixxm authored Mar 18, 2024
1 parent 9c17010 commit 0a6ed27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/schedule_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
- run: python -m pip install .
- name: Prepare site-packages
run: |
SITE_PACKAGE_ROOT=$(python -c 'import site; print(site.getsitepackages()[0])')
echo $SITE_PACKAGE_ROOT
python -m compileall -b $SITE_PACKAGE_ROOT
find $SITE_PACKAGE_ROOT -name '*.py' -print -delete
DJANGO_PACKAGE_ROOT=$(python -c 'import site; print(site.getsitepackages()[0])')/django
echo $DJANGO_PACKAGE_ROOT
python -m compileall -b $DJANGO_PACKAGE_ROOT
find $DJANGO_PACKAGE_ROOT -name '*.py' -print -delete
- run: python -m pip install -r tests/requirements/py3.txt
- name: Run tests
run: python tests/runtests.py --verbosity=2
Expand Down

0 comments on commit 0a6ed27

Please sign in to comment.