fix(gemini): 走 blob 直下保住 C2PA 溯源信息,canvas 降级为兜底 #55
Workflow file for this run
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: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # The CLI is stdlib-only — no install step, nothing to pip. | |
| - name: Byte-compile the CLI | |
| run: python -m py_compile chatgpt-imagegen | |
| - name: Run unit tests | |
| run: python -m unittest test_chatgpt_imagegen -v |