Skip to content

Hash built parquet files #6531

Hash built parquet files

Hash built parquet files #6531

Workflow file for this run

name: Tests
on:
pull_request_target:
jobs:
external-pr-action-approval:
uses: ./.github/workflows/external-pr-action-approval.yml
Tests-sources:
runs-on: ${{ matrix.os }}
needs: external-pr-action-approval
timeout-minutes: 20
# Conditional Strategy logic from https://github.com/orgs/community/discussions/26253#discussioncomment-3250989
strategy:
fail-fast: false
matrix:
node-version: [18.13.0, 20, 22]
os: [ubuntu-latest, macOS-latest, windows-latest]
isMain:
- ${{ github.base_ref == 'main' }}
exclude:
- isMain: false
node-version: 18
- isMain: false
node-version: 20
- isMain: false
os: macOS-latest
steps:
- run: git config --global core.autocrlf false
# TODO: Should we instead pin the versions we are using for our os?
- run: pip install setuptools
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
env:
SEND_ANONYMOUS_USAGE_STATS: ${{ secrets.SEND_ANONYMOUS_USAGE_STATS }}
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}
POSTGRES_DATABASE: ${{ secrets.POSTGRES_DATABASE }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }}
POSTGRES_SSL: ${{ secrets.POSTGRES_SSL }}
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }}
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
BIGQUERY_PROJECT_ID: ${{ secrets.BIGQUERY_PROJECT_ID }}
BIGQUERY_CLIENT_EMAIL: ${{ secrets.BIGQUERY_CLIENT_EMAIL }}
BIGQUERY_PRIVATE_KEY: ${{ secrets.BIGQUERY_PRIVATE_KEY }}
SQLITE_FILENAME: ':memory:'
DUCKDB_FILENAME: ':memory:'
- name: Test the CLI via test-env for merges to main
if: ${{ github.base_ref == 'main' }}
run: |
pnpm run sources:test-env && pnpm run build:test-env