feat(snowflake): implement support for asof_join
API (#9180)
#2
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: Docs main | |
on: | |
push: | |
branches: | |
- main | |
merge_group: | |
# only a single docs job that pushes to `main` can run at any given time | |
concurrency: docs-${{ github.repository }} | |
permissions: | |
# increase the rate limit for github operations, but limit token permissions | |
# to read-only | |
contents: read | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install nix | |
uses: cachix/install-nix-action@v26 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: setup cachix | |
uses: cachix/cachix-action@v14 | |
with: | |
name: ibis | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
extraPullNames: nix-community,poetry2nix | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: run doctests | |
# keep HOME because duckdb (which we use for doctests) wants to use | |
# that for extensions | |
run: nix develop --ignore-environment --keep HOME --keep HYPOTHESIS_PROFILE -c just doctest | |
- name: build api docs | |
run: nix develop --ignore-environment -c just docs-apigen --verbose | |
- name: build docs | |
run: nix develop --ignore-environment --keep HOME -c just docs-render | |
- name: build jupyterlite | |
run: nix develop --ignore-environment --keep HOME -c just build-jupyterlite | |
- name: check that all frozen computations were done before push | |
run: git diff --exit-code --stat | |
- name: verify internal links | |
run: nix develop --ignore-environment '.#links' -c just checklinks --offline --no-progress | |
- name: deploy docs | |
run: nix develop --ignore-environment --keep NETLIFY_AUTH_TOKEN -c just docs-deploy | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
# Upload index related | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install Algolia API Dependencies | |
run: | | |
python -m pip install --upgrade algoliasearch | |
- name: Create and Upload Index | |
run: | | |
python .github/workflows/upload-algolia.py | |
env: | |
ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }} | |
ALGOLIA_APP_ID: HS77W8GWM1 | |
ALGOLIA_INDEX: prod_ibis |