Skip to content

Read from R2

Read from R2 #99

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: UV Sync (timeboxed)
run: |
source ./bin/activate
echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
timeout-minutes: 5
- uses: pre-commit/[email protected]
- run: uv cache prune --ci
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: UV Sync (timeboxed)
run: |
source ./bin/activate
echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
timeout-minutes: 5
- name: Run tests
run: uv run pytest
- run: uv cache prune --ci