diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2bbcf8b..051543a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,15 +4,19 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: '3.12' + python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: pyproject.toml