Release oída 0.3.0: the remote ear and directed listening #7
This file contains hidden or 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: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Python, Web, and macOS checks | |
| runs-on: macos-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| # NOTE: the `akousma` dependency is an editable uv path source pointing at | |
| # ../earworm/packages/py-akousma. On a bare checkout this sync fails unless | |
| # the earworm repo is checked out as a sibling directory first. | |
| - name: Install Python dependencies | |
| run: uv sync --extra dev | |
| # pytest collects the unittest.TestCase suite too; one runner is enough. | |
| - name: Run Python tests | |
| run: uv run pytest -q | |
| - name: Compile Python modules | |
| run: uv run python -m compileall -q oida harness bench_adapter scripts tests | |
| - name: Check dashboard JavaScript | |
| run: node --check oida/static/app.js | |
| - name: Build macOS shell | |
| working-directory: apps/macos | |
| run: | | |
| swift build | |
| swift build -Xswiftc -strict-concurrency=complete | |
| - name: Package unsigned app | |
| run: apps/macos/script/package_unsigned.sh | |
| - name: Release smoke | |
| run: scripts/release_smoke_with_stub.sh |