diff --git a/.gitea/workflows/on_pull_request.yaml b/.gitea/workflows/on_pull_request.yaml index fe6f6c0c..f53420e2 100644 --- a/.gitea/workflows/on_pull_request.yaml +++ b/.gitea/workflows/on_pull_request.yaml @@ -21,6 +21,8 @@ jobs: # 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 # of PyTorch and other dependencies. + - name: create venv + run: python -m venv venv && source venv/bin/activate - name: Install Ruff run: pip install ruff==0.1.6 - name: Run Ruff diff --git a/.gitea/workflows/run_tests.yaml b/.gitea/workflows/run_tests.yaml index af631b23..a2bbfbac 100644 --- a/.gitea/workflows/run_tests.yaml +++ b/.gitea/workflows/run_tests.yaml @@ -25,6 +25,8 @@ jobs: cache-dependency-path: | **/requirements*txt launch.py + - name: create venv + run: python -m venv venv && source venv/bin/activate - name: Cache models id: cache-models uses: actions/cache@v3