diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3532d47b..516d45f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,8 +8,13 @@ jobs: build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.10", "3.11"] + # we can also specify the OS to run tests on - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} # a job is a seq of steps steps: @@ -22,7 +27,7 @@ jobs: - name: Set up Python 3.11 uses: actions/setup-python@v2 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: |