feat: add support for mock input #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Zig env | |
uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: "master" | |
- name: Check Zig version | |
run: zig version | |
- name: Install XTP CLI | |
run: curl https://static.dylibso.com/cli/install.sh | sudo sh | |
- name: Build example | |
run: zig build | |
- name: Test example | |
run: | | |
# this is configured by the `xtp.toml` in the root | |
xtp plugin test https://raw.githubusercontent.com/extism/extism/main/wasm/code.wasm | |