diff --git a/.github/workflows/python-installation.yml b/.github/workflows/python-installation.yml index 591066bd..d0e401cf 100644 --- a/.github/workflows/python-installation.yml +++ b/.github/workflows/python-installation.yml @@ -1,13 +1,29 @@ -name: Installing Python +name: Python Installation -on: [push] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-14, windows-latest] + py-version: ["3.10", "3.11", "3.12"] + exclude: + - os: macos-14 + py-version: "3.12" + runs-on: ${{ matrix.os }} + steps: - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.10 - + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.py-version }} + + - name: Display Python version + run: python --version \ No newline at end of file