Initial Commit
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

This commit is contained in:
2025-06-16 18:40:06 -04:00
parent d5c69cf285
commit 2dc39b6ae3
8 changed files with 920 additions and 2 deletions

32
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,32 @@
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