diff --git a/.github/ci.uv.yml b/.github/ci.uv.yml new file mode 100644 index 0000000..ab54525 --- /dev/null +++ b/.github/ci.uv.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b20d4e..6cbdfd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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