Skip to content

♻️ refactor: align basic-cli with effect terminology #57

♻️ refactor: align basic-cli with effect terminology

♻️ refactor: align basic-cli with effect terminology #57

Workflow file for this run

name: "CI - Tests"
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
host:
name: host
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: host
- name: Build host crate
run: cargo build --manifest-path host/Cargo.toml
- name: Run host tests
run: cargo test --manifest-path host/Cargo.toml
spore:
name: spore
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- name: Install spore CLI
run: uv tool install spore-lang==0.0.2
- name: Format Spore files
run: spore format --check
- name: Check Spore files
run: spore check
- name: Build Spore files
run: spore build
- name: Run standalone hello example
run: spore run examples/hello.sp
- name: Run project-mode hello-app example
run: |
(
cd examples/hello-app
echo "✓ Running project-mode example (default entry)"
spore run
)
- name: Run Spore spec tests
run: spore test