fix: resolve 8 bugs from pre-release testing (circular import, naive backtest, missing APIs) #678
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: Quickstart | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - "functime/**" | |
| - "pyproject.toml" | |
| - "docs/code/quickstart.py" | |
| - ".github/workflows/quickstart.yml" | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| quickstart: | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13", "3.14"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "latest" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up Rust | |
| run: rustup show | |
| - name: Cache Rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install functime | |
| env: | |
| RUSTFLAGS: -C debuginfo=0 # Do not produce debug symbols to keep memory usage down | |
| run: | | |
| uv sync --python ${{ matrix.python-version }} --locked | |
| uv run --with "maturin>=1.5" -- maturin develop | |
| - name: Run Quickstart | |
| run: | | |
| uv run python docs/code/quickstart.py | |
| uv run python docs/code/feature_engineering.py |