image gen format fixes #220
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: Test | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| - name: Run unit tests | |
| # Discover the whole tee_gateway/test/ directory so new test files | |
| # aren't silently excluded from CI — the previous explicit list had | |
| # left test_chat_controller, test_completions_controller, and | |
| # test_ohttp out. test_price_feed_integration.py self-gates on | |
| # RUN_INTEGRATION_TESTS and skips cleanly without it. | |
| run: uv run --group test pytest tee_gateway/test/ tests/test_pricing.py tests/test_opengradient_field.py -v --import-mode=importlib | |
| # To also run integration tests (real CoinGecko network calls), add: | |
| # env: | |
| # RUN_INTEGRATION_TESTS: "1" |