Skip to content

test_cloud

test_cloud #29

Workflow file for this run

---
name: "test_cloud"
on: # yamllint disable-line rule:truthy
push:
branches:
- '*_cloud'
workflow_dispatch:
jobs:
cloud_tests:
name: ClickHouse Cloud Tests
runs-on: ubuntu-latest
env:
PYTHONPATH: dbt
DBT_CH_TEST_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST }}
DBT_CH_TEST_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD }}
DBT_CH_TEST_CLUSTER_MODE: true
DBT_CH_TEST_CLOUD: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install requirements
run: pip3 install -r dev_requirements.txt
- name: Run HTTP tests
env:
DBT_CH_TEST_PORT: 8443
run: pytest tests
- name: Run Native tests
env:
DBT_CH_TEST_PORT: 9440
run: pytest tests