Skip to content
Open
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
56 changes: 56 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,62 @@ jobs:
- name: Test import class
run: uv run -- python -c "from timecopilot import TimeCopilot, TimeCopilotForecaster"

test-future-python:
name: test on ${{ matrix.python-version }}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
python-version: ["3.14", "3.15"]
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
- name: Clone repo
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true

- name: Free disk space in action runner
uses: endersonmenezes/free-disk-space@v3
with:
remove_android: true
remove_dotnet: true
remove_haskell: true
rm_cmd: "rmz"
rmz_version: "3.1.1"

- name: Cache HuggingFace Models
uses: actions/cache@v4
with:
path: ~/.cache/huggingface/hub/
key: ${{ Runner.os }}-huggingface-${{ hashFiles('**/tests/') }}

- name: Cache TabPFN checkpoints
uses: actions/cache@v4
with:
path: ~/.cache/tabpfn
key: ${{ runner.os }}-tabpfn-v1

- name: Run tests
run: uv run pytest
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
TABPFN_TOKEN: ${{ secrets.TABPFN_TOKEN }}

- name: Test import class
run: uv run -- python -c "from timecopilot import TimeCopilot, TimeCopilotForecaster"

test-live:
name: test live
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ requires = ["hatchling"]

[dependency-groups]
dev = [
"fugue[dask,ray,spark]>=0.9.0",
"fugue[dask,ray,spark]>=0.9.0; python_version < '3.14'",
"fugue[dask,spark]>=0.9.0; python_version >= '3.14'",
"mktestdocs>=0.2.5",
"pre-commit",
"pyspark<4.1",
Expand Down
6 changes: 4 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading