⬆️ Bump torch from 2.6.0+cu124 to 2.7.0 #307
Workflow file for this run
This file contains hidden or 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: 🔧 Pytest/Test Workflow | |
on: | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
run-tests: | |
name: Import Test and Pytest Run | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 📥 Checkout the repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: 🐍 Install uv and set Python version ${{ matrix.python-version }} | |
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
activate-environment: true | |
# TODO(https://github.com/astral-sh/setup-uv/issues/226): Remove this. | |
prune-cache: ${{ matrix.os != 'windows-latest' }} | |
- name: 🚀 Install Packages | |
run: uv pip install -r pyproject.toml --group dev --group docs --extra cpu --extra reid | |
- name: 🧪 Run the Import test | |
run: uv run python -c "import trackers" | |
- name: 🧪 Run the Test | |
run: uv run pytest |