From 19c178fbc2b90514f35d7ed3b63a8673bb90651a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:16:09 +0100 Subject: [PATCH 1/6] Add debug print --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44ea78ed..9f5ddb16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: - name: Install default (with full options) and test dependencies run: uv pip install --python-version=${{ matrix.python-version }} '.[full]' --group test - name: Run unit and doc tests with coverage report - run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml + run: uv run ls -R src | head && uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml - name: Upload results to Codecov uses: codecov/codecov-action@v4 with: From d7319fcf8bd8a255e8a0886e8a833f5f04d4b28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:25:45 +0100 Subject: [PATCH 2/6] change how python version is specified --- .github/workflows/tests.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9f5ddb16..e1bf702d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,6 @@ on: env: UV_NO_SYNC: 1 - PYTHON_VERSION: 3.14 jobs: tests-full-install: @@ -43,9 +42,9 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: '3.14' - name: Install default (without any option) and test dependencies - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} . --group test + run: uv pip install . --group test - name: Run unit and doc tests with coverage report run: | uv run pytest -W error tests/unit tests/doc \ @@ -68,10 +67,10 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: '3.14' - name: Install dependencies (default with full options & doc) - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} '.[full]' --group doc + run: uv pip install --python-version=3.14 '.[full]' --group doc - name: Build Documentation working-directory: docs @@ -87,10 +86,10 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: '3.14' - name: Install dependencies (default with full options & check) - run: uv pip install --python-version=${{ env.PYTHON_VERSION }} '.[full]' --group check + run: uv pip install --python-version=3.14 '.[full]' --group check - name: Run mypy run: uv run mypy src/torchjd From 267aba2e7a44821e52352b291646071fc7ea1336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:28:31 +0100 Subject: [PATCH 3/6] Remove UV_NO_SYNC --- .github/workflows/tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e1bf702d..7de73339 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,9 +6,6 @@ on: schedule: - cron: '41 16 * * *' # Every day at 16:41 UTC (to avoid high load at exact hour values). -env: - UV_NO_SYNC: 1 - jobs: tests-full-install: name: Run tests with full install From 6eecfd080d09e64f006023cdbe6fe8884c439c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:40:17 +0100 Subject: [PATCH 4/6] try something --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7de73339..dafa621d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,10 +41,10 @@ jobs: with: python-version: '3.14' - name: Install default (without any option) and test dependencies - run: uv pip install . --group test + run: uv pip install --python-version=3.14 . --group test - name: Run unit and doc tests with coverage report run: | - uv run pytest -W error tests/unit tests/doc \ + uv run --no-sync pytest -W error tests/unit tests/doc \ --ignore tests/unit/aggregation/test_cagrad.py \ --ignore tests/unit/aggregation/test_nash_mtl.py \ --ignore tests/doc/test_aggregation.py \ From 179af28ac174c0e39c6e56c4738a6b8e8214ede1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:42:42 +0100 Subject: [PATCH 5/6] try something --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dafa621d..d8f27bab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,9 +39,9 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v5 with: - python-version: '3.14' + python-version: '3.10' - name: Install default (without any option) and test dependencies - run: uv pip install --python-version=3.14 . --group test + run: uv pip install --python-version=3.10 . --group test - name: Run unit and doc tests with coverage report run: | uv run --no-sync pytest -W error tests/unit tests/doc \ From 3f447271b4814e021549c1887593fcc442ab3d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Thu, 30 Oct 2025 04:45:13 +0100 Subject: [PATCH 6/6] try something --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8f27bab..17d0053c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,7 @@ jobs: run: uv pip install --python-version=3.10 . --group test - name: Run unit and doc tests with coverage report run: | - uv run --no-sync pytest -W error tests/unit tests/doc \ + uv run pytest -W error tests/unit tests/doc \ --ignore tests/unit/aggregation/test_cagrad.py \ --ignore tests/unit/aggregation/test_nash_mtl.py \ --ignore tests/doc/test_aggregation.py \