Skip to content

Commit 346d666

Browse files
committed
fix ci
1 parent 3d485ff commit 346d666

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
- name: Install default (with full options) and test dependencies
3737
run: uv pip install --python-version=${{ matrix.python-version }} -e '.[full]' --group test
3838
- name: Run unit and doc tests with coverage report
39-
run: |
40-
PYTEST_TORCH_DEVICE=${{ matrix.device }} uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
39+
env:
40+
PYTEST_TORCH_DEVICE: ${{ matrix.torch_device }}
41+
run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
4142
- name: Upload results to Codecov
4243
uses: codecov/codecov-action@v4
4344
with:

0 commit comments

Comments
 (0)