From a9eb9d7d9fb067108fd61774acfc60959952b175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 21 Dec 2025 17:38:13 +0100 Subject: [PATCH 1/2] ci: Add float64 tests --- .github/workflows/tests.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 570f6dcc..b743c6bf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,6 +58,26 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} + tests-float64: + name: Run tests with on float64 dtype + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up uv + uses: astral-sh/setup-uv@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: Install default (with full options) and test dependencies + run: uv pip install --python-version=${{ env.PYTHON_VERSION }} -e '.[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 + env: + PYTEST_TORCH_DTYPE: float64 + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + build-doc: name: Build doc runs-on: ubuntu-latest From 5b7ea9145335aae78e08a3ccd2396ed887776ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 21 Dec 2025 17:44:04 +0100 Subject: [PATCH 2/2] typo --- .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 b743c6bf..ee628ee3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,7 +59,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} tests-float64: - name: Run tests with on float64 dtype + name: Run tests on float64 dtype runs-on: ubuntu-latest steps: - uses: actions/checkout@v4