Skip to content

feat: support server side session #994

feat: support server side session

feat: support server side session #994

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache-key: check
- uses: ./.github/actions/check
build:
needs: check
runs-on: ${{ matrix.os }}-latest
name: build-${{ matrix.os }}-${{ matrix.arch }}
strategy:
matrix:
include:
- { os: ubuntu, arch: x86_64, target: x86_64-unknown-linux-gnu }
- { os: macos, arch: x86_64, target: x86_64-apple-darwin }
- { os: windows, arch: x86_64, target: x86_64-pc-windows-msvc }
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache-key: build
target: ${{ matrix.target }}
- run: cargo build
unit:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache-key: unit
- run: cargo test --all-features --lib -- --show-output
integration:
needs: check
runs-on: [self-hosted, Linux, X64, 4c8g, aws]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
runner: aws
cache-key: integration
- name: Get License from S3
run: |
aws s3 cp s3://databend-ci/misc/license.key license.key
aws s3 cp s3://databend-ci/misc/license.json license.json
cat license.json
echo "QUERY_DATABEND_ENTERPRISE_LICENSE=$(cat license.key)" >> $GITHUB_ENV
- run: make -C tests test-core
- run: make -C tests test-driver
- run: make -C tests test-bendsql