Skip to content

Commit

Permalink
Revert attempt at uv for now they are working on it
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenwindflower committed Feb 18, 2024
1 parent a03cd40 commit 7c4afed
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
36 changes: 36 additions & 0 deletions .github/ci.uv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
pull_request:
branches:
- main
jobs:
ci:
name: CI Check
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.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: uv 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 sources && npm run build --prefix ./reports
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ jobs:
uses: actions/setup-node@v4.0.2
with:
node-version: 20.x
- name: TEMP HACK uv needs a venv
run: echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
- name: Install uv
run: python3 -m pip install uv
- name: Install Python requirements
run: uv pip install -r requirements.txt
run: pip install -r requirements.txt
- name: Install Node requirements
run: npm install --prefix ./reports
- name: Run EL
Expand Down

0 comments on commit 7c4afed

Please sign in to comment.