Skip to content

Merge pull request #153 from vdice/chore/release-4.0.0-rc1 #70

Merge pull request #153 from vdice/chore/release-4.0.0-rc1

Merge pull request #153 from vdice/chore/release-4.0.0-rc1 #70

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Spin
uses: fermyon/actions/spin/setup@v1
with:
# TODO: Switch to Spin 4.0 when it's available
version: "canary"
- name: Build examples and run tests
run: |
python -m venv venv
source venv/bin/activate
pip install componentize-py==0.23.0 http-router==4.1.2 build==1.4.2 mypy==1.13
python -m build
VERSION=$(yq '.project.version' pyproject.toml)
pip install dist/spin_sdk-${VERSION//-}-py3-none-any.whl
bash run_tests.sh