Skip to content

Commit

Permalink
Add evidence build to CI (#17)
Browse files Browse the repository at this point in the history
* Add evidence build to CI

* Try to fix npm build syntax

* Install npm deps before running CI build

* Add EVIDENCE_DATABASE env var to CI

* Add duckdb file env var to evidence build step in CI

* Pin duckdb to 0.8.1 for Evidence and MD compatibility

* Try pathing the duckdb filename for Evidence CI

* Pathing didn't work REVERT

* Downgrade from build strict for empty data potential
  • Loading branch information
gwenwindflower authored Sep 28, 2023
1 parent c7d4635 commit 9c38eb7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,22 @@ jobs:
uses: actions/setup-python@v4.7.0
with:
python-version: "3.10.x"
- name: Install requirements
- name: Setup Node
uses: actions/setup-node@v3.8.1
with:
node-version: 18.x
- name: Install Python requirements
run: python3 -m pip install -r requirements.txt
- name: Install Node requirements
run: npm install --prefix ./reports
- name: Run EL
run: python3 el.py -lc
- name: Run T
run: dbt deps && dbt build
- name: Lint SQL
run: sqlfluff lint models --format github-annotation-native
- name: Build Evidence
env:
EVIDENCE_DATABASE: 'duckdb'
EVIDENCE_DUCKDB_FILENAME: 'octocatalog.db'
run: npm run build --prefix ./reports

0 comments on commit 9c38eb7

Please sign in to comment.