File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 22name : " test_cloud"
33
44on : # yamllint disable-line rule:truthy
5+ schedule :
6+ - cron : ' 0 0 * * *' # nightly run every day at 00:00 UTC
7+ pull_request :
8+ branches : main
59 push :
6- branches :
7- - ' *_cloud'
10+ branches-ignore :
11+ - ' *_test'
12+ - ' *_dev'
13+ paths-ignore :
14+ - ' **.md'
15+ - ' LICENSE'
816 workflow_dispatch :
917
1018jobs :
1119 cloud_smt_tests :
1220 name : ClickHouse Cloud SharedMergeTree Tests
1321 runs-on : ubuntu-latest
22+ timeout-minutes : 90
23+
24+ strategy :
25+ max-parallel : 1
26+ fail-fast : false
27+ matrix :
28+ python-version : ['3.9', '3.10', '3.11', '3.12']
1429
1530 env :
1631 PYTHONPATH : dbt
@@ -23,20 +38,20 @@ jobs:
2338 - name : Checkout
2439 uses : actions/checkout@v3
2540
26- - name : Setup Python 3.11
41+ - name : Setup Python ${{ matrix.python-version }}
2742 uses : actions/setup-python@v4
2843 with :
29- python-version : ' 3.11 '
44+ python-version : ${{ matrix.python-version }}
3045
3146 - name : Install requirements
3247 run : pip3 install -r dev_requirements.txt
3348
3449 - name : Run HTTP tests
3550 env :
3651 DBT_CH_TEST_PORT : 8443
37- run : pytest tests
52+ run : pytest tests --timeout=120
3853
3954 - name : Run Native tests
4055 env :
4156 DBT_CH_TEST_PORT : 9440
42- run : pytest tests
57+ run : pytest tests --timeout=120
You can’t perform that action at this time.
0 commit comments