test: use Python interp for sleep test on Windows #4
This file contains 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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"] | |
os: ["macos-latest", "ubuntu-latest", "windows-latest"] | |
steps: | |
- name: 'Disable `autocrlf` in Git' | |
run: git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install poetry tox | |
- name: Test with tox | |
run: | | |
tox run |