feat: multi-client experience - client detail page, QB import, per-cl… #70
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: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| rust: | |
| name: Rust Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo test --verbose | |
| - run: cargo clippy -- -D warnings | |
| - run: cargo fmt --check | |
| typescript: | |
| name: TypeScript Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: js | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - run: npm install | |
| - run: npm run build | |
| - run: npm test | |
| python: | |
| name: Python PyO3 Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: python -m venv .venv && source .venv/bin/activate && pip install maturin pytest | |
| - run: source .venv/bin/activate && cd python && maturin develop | |
| - run: source .venv/bin/activate && cd python && pytest tests/ -v | |
| python-sdk: | |
| name: Python SDK Tests (kanoniv-auth) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: cd sdks/kanoniv-auth && pip install -e ".[cli,dev]" | |
| - run: cd sdks/kanoniv-auth && pytest tests/ -v | |
| interop: | |
| name: Cross-SDK Interop | |
| runs-on: ubuntu-latest | |
| needs: [rust, python-sdk] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: cd sdks/kanoniv-auth && pip install -e . | |
| - run: cargo build --features cli | |
| - run: python tests/interop/test_cross_sdk.py |