(fix): Ensure survival tensors are moved to CPU before converting to … #1259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Coverage | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04, macos-14] | |
python-version: ['3.12'] | |
group: [1, 2, 3, 4, 5] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run tests with Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
env: | |
PYTEST_GROUP: ${{ matrix.group }} | |
run: | | |
pip install tox==4.23.2 | |
pip install poetry==2.0.1 | |
tox -e py_partial | |
- name: Upload coverage to Codecov | |
if: matrix.os == 'ubuntu-24.04' | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |