Replace sh with cross platfom code #417
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: Run Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
max-parallel: 8 | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
python-version: | |
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", pypy3.9, pypy3.10] | |
exclude: | |
# Exclude PyPy on Windows as it might have compatibility issues | |
- os: windows-latest | |
python-version: pypy3.9 | |
- os: windows-latest | |
python-version: pypy3.10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install dependencies | |
run: pip install tox tox-gh-actions | |
- name: Test with tox | |
run: tox |