Skip to content

Expanding Spark SQL Coverage #1080

Expanding Spark SQL Coverage

Expanding Spark SQL Coverage #1080

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: ./.github/actions/setup-rust
- name: Format check
run: cargo +nightly fmt -- --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Test
run: cargo test
- name: Build Python package
uses: PyO3/maturin-action@v1
- name: Upload Python package
uses: actions/upload-artifact@v4
with:
name: python-package
path: target/wheels
retention-days: 1
spark-tests:
name: Spark tests
uses: ./.github/workflows/spark-tests.yml
needs:
- build
python-build:
name: Python build
uses: ./.github/workflows/python-build.yml
needs:
- build
docs-build:
name: Docs build
uses: ./.github/workflows/docs-build.yml
strategy:
matrix:
stage: ${{ fromJSON(github.event_name == 'push' && '["dev", "prod"]' || '["test"]') }}
needs:
- build
with:
stage: ${{ matrix.stage }}
version: main
docs-deploy:
name: Docs deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/docs-deploy.yml
strategy:
max-parallel: 1
matrix:
stage: [dev, prod]
permissions:
id-token: write
needs:
- docs-build
with:
stage: ${{ matrix.stage }}
version: main