Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools numpy scipy hypothesis pytest torch gpytorch
pip install --progress-bar off .
- run: python -m pytest tests --ignore=tests/test_free_threaded.py
test-free-threaded:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# TODO: Replace deadsnakes with setup-python when the support for Python 3.13t is added
- name: Setup Python 3.13t
uses: deadsnakes/action@v3.1.0
with:
python-version: "3.13-dev"
nogil: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools numpy hypothesis pytest pytest-freethreaded
pip install --progress-bar off .
- run: python -m pytest --threads 1 --iterations 1 tests --ignore=tests/test_free_threaded.py
# TODO: Using `unittest` style causes `pytest-freethreaded` to fail with `ConcurrencyError`.
# Rewriting as top-level functions works,
# so a follow-up is needed to refactor from `unittest` to `pytest`.
- run: python -m pytest --threads 1 --iterations 1 --require-gil-disabled tests/test_free_threaded.py
- run: python -m pytest tests
test-numpy2:
runs-on: ubuntu-latest
steps:
Expand All @@ -73,4 +54,4 @@ jobs:
python -m pip install --upgrade pip setuptools scipy hypothesis pytest torch gpytorch
python -m pip install --pre --upgrade numpy
pip install --progress-bar off .
- run: python -m pytest tests --ignore=tests/test_free_threaded.py
- run: python -m pytest tests
22 changes: 0 additions & 22 deletions tests/test_free_threaded.py

This file was deleted.

Loading