chore: rename project from TokLedger to TokKit #2
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: | |
| jobs: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install build tooling | |
| run: python -m pip install --upgrade pip build | |
| - name: Install project | |
| run: python -m pip install -e . | |
| - name: Compile sources | |
| run: python -m compileall src/tokkit src/tokstat | |
| - name: Build package | |
| run: python -m build | |
| - name: Smoke test CLI | |
| run: | | |
| tok help >/dev/null | |
| tok pricing >/dev/null | |
| tokkit --help >/dev/null | |
| tokstat --help >/dev/null | |
| python -m tokkit.cli --help >/dev/null |