forked from simonw/sf-tree-history
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 907 Bytes
/
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
name: PR CI Checks
on:
pull_request:
branches:
- main
jobs:
ci:
name: CI Check
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: "3.11.x"
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 20.x
- name: Install Python dependencies
run: |
python3 -m pip install uv
uv pip install --system -r requirements.txt
- name: Run Transformations + Lint SQL
run: |
dbt deps
dbt build
sqlfluff lint models --format github-annotation-native
- name: Build Evidence
run: |
npm install --prefix ./reports
npm run sources --prefix ./reports
npm run build --prefix ./reports