OpenAI API proxy with Wasi preview 2 and the WebAssembly Component Model #1
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: "Wasi preview 2 tests" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install spin | |
run: | | |
curl -fsSL https://developer.fermyon.com/downloads/install.sh | bash | |
- name: Build project | |
working-directory: wasip2 | |
run: | | |
spin build | |
- name: Run tests | |
working-directory: wasip2 | |
run: | | |
spin test | |