Skip to content

Update WIT definitions, add tests & CI infra #4

Update WIT definitions, add tests & CI infra

Update WIT definitions, add tests & CI infra #4

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: pip install uv
- name: Install dependencies
run: uv sync
- name: Install viceroy
run: cargo install --git https://github.com/fastly/Viceroy.git --branch sunfishcode/sync-wit viceroy
- name: Build WebAssembly component
run: make app.wasm
- name: Install dependencies
run: uv sync --extra dev --extra test
- name: Check formatting
run: make format-check
- name: Run linting
run: make lint
- name: Run tests
run: make test