Merge pull request #67 from Vizonex/dependabot/github_actions/pypa/ci… #103
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.9', '3.10', '3.11', '3.12', '3.13'] | |
| exclude: | |
| - os: windows-11-arm # setup-python action only supports 3.11+ | |
| python-version: '3.9' | |
| - os: windows-11-arm # setup-python action only supports 3.11+ | |
| python-version: '3.10' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| 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 | |