-
Notifications
You must be signed in to change notification settings - Fork 31
49 lines (46 loc) · 1.22 KB
/
ci.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
43
44
45
46
47
48
49
name: Continuous Integration Tests
on:
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Continuous Integration Tests
timeout-minutes: 30
services:
clickhouse:
image: clickhouse/clickhouse-server:22.3
ports:
- 9000:9000
- 8123:8123
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: wait for services to start up
run: sleep 10
- name: dbt version
uses: kzzzr/mybi-dbt-action@v4
with:
command: dbt --version
- name: dbt debug
uses: kzzzr/mybi-dbt-action@v4
with:
command: dbt debug
- name: dbt deps
uses: kzzzr/mybi-dbt-action@v4
with:
command: dbt deps
- name: dbt init_source_data
uses: kzzzr/mybi-dbt-action@v4
with:
command: dbt run-operation init_source_data
- name: dbt build
uses: kzzzr/mybi-dbt-action@v4
with:
command: dbt build --full-refresh
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# if: ${{ failure() }}
# timeout-minutes: 30