sync up with uvloop fork that I have to allow people to start testing it. #345
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
| # NOTE I'm borrowing from pycares & cyares so that we don't have to reinvent the wheel. | |
| name: Test | |
| on: [pull_request, push] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Test on ${{ matrix.os }} / Python ${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, windows-11-arm] | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] | |
| exclude: | |
| - os: windows-11-arm # setup-python action only supports 3.11+ | |
| python-version: '3.10' | |
| - os: windows-11-arm # workflow keeps screwing around with us. | |
| python-version: '3.14t' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| check-latest: true | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Requirements | |
| run: python -m pip install --upgrade setuptools wheel pip cython pytest aiohttp aiodns | |
| - name: Compile Winloop | |
| run: pip install -e . | |
| - name: run-tests | |
| env: | |
| COLOR: yes | |
| PIP_USER: 1 | |
| run: pytest -vv | |
| shell: bash | |