Add Why TimeGPT notebook #1335
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
NIXTLA_API_KEY: ${{ secrets.NIXTLA_DEV_API_KEY }} | |
NIXTLA_BASE_URL: ${{ secrets.NIXTLA_DEV_BASE_URL }} | |
NIXTLA_API_KEY_CUSTOM: ${{ secrets.NIXTLA_DEV_API_KEY }} | |
NIXTLA_BASE_URL_CUSTOM: ${{ secrets.NIXTLA_DEV_BASE_URL }} | |
API_KEY_FRED: ${{ secrets.API_KEY_FRED }} | |
jobs: | |
check-import: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install nixtla | |
run: pip install uv && uv pip install --system . | |
- name: Check import | |
run: python -c "from nixtla import NixtlaClient" | |
run-all-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pip requirements | |
run: pip install uv && uv pip install --system ".[dev,distributed]" | |
- name: Run tests | |
run: nbdev_test --timing --do_print --n_workers 0 --flags 'distributed' | |
run-local-tests: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13, windows-latest] | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pip requirements | |
run: pip install uv && uv pip install --system ".[dev]" | |
- name: Run tests | |
run: nbdev_test --timing --do_print --n_workers 0 --skip_file_re "computing_at_scale|distributed" |