fix: missing @fallible decorator for public methods in ops mod
#127
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 | |
| # NOTE: keep UV_VERSION in sync with uv-version in s2-lite-integration-tests sdks JSON below. | |
| env: | |
| UV_VERSION: "0.11.6" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, ready_for_review, reopened] | |
| jobs: | |
| local-checks: | |
| name: Local Checks (code quality, unit tests, docs build) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Sync dependencies | |
| run: | | |
| uv sync --all-groups | |
| - name: Code quality check | |
| run: uv run poe cq-check | |
| - name: Unit tests | |
| run: uv run pytest tests/ -v -m 'not (account or basin or stream or metrics or correctness)' | |
| - name: Check docs build | |
| working-directory: ./docs | |
| run: | | |
| make html | |
| s2-cloud-integration-tests: | |
| name: s2-cloud integration tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Sync dependencies | |
| run: uv sync --group test | |
| - name: Run integration tests | |
| env: | |
| S2_ACCESS_TOKEN: ${{ secrets.S2_ACCESS_TOKEN }} | |
| run: uv run pytest tests/ -v -s -m 'account or basin or stream or metrics' | |
| build-s2-lite: | |
| name: Build s2-lite | |
| uses: s2-streamstore/s2/.github/workflows/build-s2-lite.yml@main | |
| s2-lite-integration-tests: | |
| name: s2-lite integration tests | |
| needs: build-s2-lite | |
| uses: s2-streamstore/s2/.github/workflows/sdk-tests.yml@main | |
| with: | |
| server-binary: server | |
| server-args: "--port 8080" | |
| server-port: 8080 | |
| sdks: | | |
| [ | |
| { | |
| "name": "python", | |
| "repo": "${{ github.repository }}", | |
| "ref": "${{ github.ref }}", | |
| "lang": "python", | |
| "uv-version": "0.11.6", | |
| "test_cmd": "uv run pytest tests/ -v -s -m '(account or basin or stream) and not access_tokens and not locations'" | |
| } | |
| ] |