Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

chore(infra): pin Linux test runners

XZH31b0acefac84
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f56bd6966..01938171f 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -34,7 +34,7 @@ on:
jobs:
lint:
name: Lint and Format
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout code
@@ -63,7 +63,7 @@ jobs:
web-tests:
name: Web Node Tests
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout code
@@ -109,7 +109,7 @@ jobs:
multi-worker-web:
name: Four-worker browser acceptance
if: vars.DEEPTUTOR_MULTI_WORKER_E2E_URL != ''
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout code
@@ -162,13 +162,13 @@ jobs:
matrix:
include:
- python-version: "3.11"
- os: ubuntu-latest
+ os: ubuntu-24.04
- python-version: "3.12"
- os: ubuntu-latest
+ os: ubuntu-24.04
- python-version: "3.13"
- os: ubuntu-latest
+ os: ubuntu-24.04
- python-version: "3.14"
- os: ubuntu-latest
+ os: ubuntu-24.04
- python-version: "3.14"
os: macos-latest
- python-version: "3.14"
@@ -229,7 +229,7 @@ jobs:
python-tests:
name: Python Tests (Python ${{ matrix.python-version }})
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
needs: import-check
services:
redis:
@@ -302,7 +302,7 @@ jobs:
test-summary:
name: Test Summary
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
needs: [lint, web-tests, multi-worker-web, import-check, python-tests]
if: always()