diff --git a/.gitea/workflows/on_pull_request.yaml b/.gitea/workflows/on_pull_request.yaml index 7e6a8765..f15f573c 100644 --- a/.gitea/workflows/on_pull_request.yaml +++ b/.gitea/workflows/on_pull_request.yaml @@ -15,6 +15,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: 3.11.0 + env: + AGENT_TOOLSDIRECTORY: /opt/hostedtoolache # NB: there's no cache: pip here since we're not installing anything # from the requirements.txt file(s) in the repository; it's faster # not to have GHA download an (at the time of writing) 4 GB cache diff --git a/.gitea/workflows/run_tests.yaml b/.gitea/workflows/run_tests.yaml index c45a5085..50acda5a 100644 --- a/.gitea/workflows/run_tests.yaml +++ b/.gitea/workflows/run_tests.yaml @@ -20,6 +20,8 @@ jobs: with: python-version: "3.10.6" cache: pip + env: + AGENT_TOOLSDIRECTORY: /opt/hostedtoolache cache-dependency-path: | **/requirements*txt launch.py