Skip to content

Commit

Permalink
Use uv for CI instead of pip (#25)
Browse files Browse the repository at this point in the history
* Use uv for CI instead of pip

* Move npm install to Evidence Build step
  • Loading branch information
gwenwindflower authored Feb 29, 2024
1 parent 576d4ce commit eb656c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 42 deletions.
36 changes: 0 additions & 36 deletions .github/ci.uv.yml

This file was deleted.

15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,36 @@ on:
pull_request:
branches:
- main

jobs:
ci:
name: CI Check
environment: ci
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Setup Python
uses: actions/setup-python@v5.0.0
with:
python-version: "3.11.5"
python-version: "3.11.x"
- name: Setup Node
uses: actions/setup-node@v4.0.2
with:
node-version: 20.x
- name: Install uv
run: python3 -m pip install uv
- name: Install Python requirements
run: pip install -r requirements.txt
run: uv pip install --system -r requirements.txt
- name: Run EL
run: python3 el.py -lc
- name: Build transformations
- name: Run T and Lint
run: |
dbt deps
dbt build
sqlfluff lint models
sqlfluff lint models --format github-annotation-native
- name: Build Evidence
env:
EVIDENCE_DATABASE: "duckdb"
EVIDENCE_DUCKDB_FILENAME: "octocatalog.db"
run: |
npm install --prefix ./reports
npm run sources --prefix ./reports
Expand Down

0 comments on commit eb656c3

Please sign in to comment.