Files
PolySolve/.gitea/workflows/test.yml
Jonathan Rampersad 2dc39b6ae3
Some checks failed
Run Python Tests / test (3.8) (push) Failing after 3s
Run Python Tests / test (3.10) (push) Failing after 12s
Run Python Tests / test (3.12) (push) Failing after 2m0s
Initial Commit
2025-06-16 18:40:06 -04:00

33 lines
684 B
YAML

name: Run Python Tests
on: [push, pull_request]
jobs:
test:
runs-on: nvidia-cuda
strategy:
matrix:
python-version: ["3.8", "3.10", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Check for GPU
run: |
echo "Checking for NVIDIA GPU..."
nvidia-smi
- name: Install dependencies with CUDA
run: |
python -m pip install --upgrade pip
pip install .[dev,cuda12]
- name: Run tests
run: |
pytest