Skip to content

Update WIT definitions, add tests & CI infra #2

Update WIT definitions, add tests & CI infra

Update WIT definitions, add tests & CI infra #2

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
- 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: |
curl -L https://github.com/fastly/Viceroy/releases/download/v0.14.2/viceroy_v0.14.2_linux-amd64.tar.gz | tar -xz
sudo mv viceroy /usr/local/bin/
- 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