Skip to content

chore: mintlify docs #1821

chore: mintlify docs

chore: mintlify docs #1821

Workflow file for this run

name: ci-test
on:
push:
# Skip the backend suite if all changes are docs
paths-ignore:
- "docs/**"
- "**/*.md"
- "**/*.qmd"
- "*.md"
- "codecov.yml"
- ".envrc"
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: download test data
run: just download-data
- name: rust latest
run: rustup update
- name: cargo cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
./target/
key: cargo-cache-${{ matrix.python-version }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install the project
run: uv sync --locked --extra examples --group dev --group test --no-install-project
working-directory: ${{ github.workspace }}
- name: maturin develop
uses: PyO3/maturin-action@v1
with:
command: 'develop'
args: '--release --strip'
target: ${{ matrix.target }}
sccache: 'true'
manylinux: 'auto'
- name: start services
run: docker compose up --build --wait
- name: pytest
run: uv run --no-sync pytest --import-mode=importlib --cov --cov-report=xml -k 'not script_execution'
working-directory: ${{ github.workspace }}
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_DATABASE: ibis_testing
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}