-
Notifications
You must be signed in to change notification settings - Fork 119
42 lines (34 loc) · 970 Bytes
/
test_cloud.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: "test_cloud"
on: # yamllint disable-line rule:truthy
push:
branches:
- '*_cloud'
workflow_dispatch:
jobs:
cloud_smt_tests:
name: ClickHouse Cloud SharedMergeTree Tests
runs-on: ubuntu-latest
env:
PYTHONPATH: dbt
DBT_CH_TEST_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
DBT_CH_TEST_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
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