| 1 |
# Run tests on Windows. |
| 2 |
name: test_windows |
| 3 |
on: [push, pull_request] |
| 4 |
permissions: read-all |
| 5 |
jobs: |
| 6 |
test_windows: |
| 7 |
runs-on: ${{ matrix.os }} |
| 8 |
strategy: |
| 9 |
matrix: |
| 10 |
include: |
| 11 |
- os: windows-2025 |
| 12 |
python-version: '3.14' |
| 13 |
toxenv: 'py314' |
| 14 |
steps: |
| 15 |
- name: Configure git |
| 16 |
run: git config --global core.autocrlf false |
| 17 |
- uses: actions/checkout@v6 |
| 18 |
- name: Set up Python ${{ matrix.python-version }} |
| 19 |
uses: actions/setup-python@v6 |
| 20 |
with: |
| 21 |
python-version: ${{ matrix.python-version }} |
| 22 |
cache: 'pip' |
| 23 |
- name: Install tox |
| 24 |
run: | |
| 25 |
python -m pip install --upgrade pip |
| 26 |
python -m pip install tox tox-gh-actions |
| 27 |
- name: Run tests |
| 28 |
run: | |
| 29 |
tox -e ${{ matrix.toxenv }} |