Remove strict mode from market commands #97
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: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| broker-cli-smoke: | |
| name: "π Broker CLI Smoke" | |
| runs-on: ubuntu-latest | |
| env: | |
| BROKER_LAUNCH_IB: "0" | |
| steps: | |
| - name: "π₯ Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "π Setup Python 3.12" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: "β‘ Setup uv" | |
| uses: astral-sh/setup-uv@v5 | |
| - name: "π¦ Install broker Python packages" | |
| run: | | |
| uv venv --python 3.12 --seed --allow-existing | |
| .venv/bin/python -m pip install -e './daemon[dev]' -e './sdk/python[dev]' -e './cli[dev]' | |
| - name: "π§ͺ Run broker --help smoke check" | |
| run: .venv/bin/broker --help | |
| broker-python-tests: | |
| name: "π PyTest β’ ${{ matrix.suite_name }}" | |
| runs-on: ubuntu-latest | |
| env: | |
| BROKER_LAUNCH_IB: "0" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - suite_name: "daemon" | |
| suite_path: "daemon/tests" | |
| - suite_name: "cli" | |
| suite_path: "cli/tests" | |
| - suite_name: "sdk-python" | |
| suite_path: "sdk/python/tests" | |
| steps: | |
| - name: "π₯ Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "π Setup Python 3.12" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: "β‘ Setup uv" | |
| uses: astral-sh/setup-uv@v5 | |
| - name: "π¦ Install broker Python packages" | |
| run: | | |
| uv venv --python 3.12 --seed --allow-existing | |
| .venv/bin/python -m pip install -e './daemon[dev]' -e './sdk/python[dev]' -e './cli[dev]' | |
| - name: "π§ͺ Run pytest (${{ matrix.suite_name }})" | |
| run: .venv/bin/python -m pytest "${{ matrix.suite_path }}" -q | |
| typescript-typecheck: | |
| name: "π§© TypeScript SDK Typecheck" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "π₯ Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "π₯ Setup Bun" | |
| uses: oven-sh/setup-bun@v2 | |
| - name: "π¦ Install dependencies" | |
| run: cd sdk/typescript && bun install | |
| - name: "π§ͺ Run typecheck" | |
| run: cd sdk/typescript && bun run typecheck | |
| shell-script-syntax: | |
| name: "π Shell Script Syntax" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "π₯ Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "π§ͺ Validate bash syntax" | |
| run: find . -type f -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 -n1 bash -n |