Fix stub README #18
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install pytest pytest-cov | |
| - name: Run tests | |
| run: pytest tests/ -v --tb=short --cov=src --cov-report=term-missing | |
| - name: Smoke-test CLI | |
| run: | | |
| python src/design_token_manager.py seed | |
| python src/design_token_manager.py list | |
| python src/design_token_manager.py export-css --prefix '--ds' | |
| python src/design_token_manager.py export-tailwind | |
| python src/design_token_manager.py validate |