summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-03-18 19:37:04 +0100
committerGitHub <noreply@github.com>2024-03-18 19:37:04 +0100
commit0a6ed278d808ff206eb8cd77b48cac46673605ce (patch)
treebc5cec11813461f7651e8a0e201026c9093b3314
parent9c17010358891c73417ec569df4f568c0671c099 (diff)
Stopped using byte-compiled 3rd-party packages in daily builds for byte-compiled Django.
-rw-r--r--.github/workflows/schedule_tests.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/schedule_tests.yml b/.github/workflows/schedule_tests.yml
index 9c1444d2f5..c4523af4a0 100644
--- a/.github/workflows/schedule_tests.yml
+++ b/.github/workflows/schedule_tests.yml
@@ -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