qwen3_workarena_changes #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: Python Compatibility (Info Only) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| info-check: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Optional: Cache uv for faster runs | |
| - name: Cache uv | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cargo/bin/uv | |
| key: uv-${{ runner.os }} | |
| - name: Install uv | |
| run: | | |
| if [ ! -f ~/.cargo/bin/uv ]; then | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| fi | |
| - name: Check Python ${{ matrix.python-version }} | |
| continue-on-error: true | |
| run: | | |
| export PATH="$HOME/.cargo/bin:$PATH" | |
| uv python install ${{ matrix.python-version }} | |
| if uv sync --frozen --python ${{ matrix.python-version }}; then | |
| uv run -p ${{ matrix.python-version }} python -c "import sys; print('✅ Compatible:', sys.version)" | |
| echo "✅ Python ${{ matrix.python-version }} works" | |
| else | |
| echo "❌ Python ${{ matrix.python-version }} incompatible" | |
| exit 1 | |
| fi |