diff --git a/.github/workflows/osx-build-test-amd64.yml b/.github/workflows/osx-build-test-amd64.yml index e5f905a6..2f4895ef 100644 --- a/.github/workflows/osx-build-test-amd64.yml +++ b/.github/workflows/osx-build-test-amd64.yml @@ -9,7 +9,7 @@ jobs: osx-build: name: Build wheel for OSX - runs-on: macos-12 + runs-on: macos-13 steps: - name: Checkout uses: actions/checkout@v4 @@ -46,13 +46,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ["macos-12", "macos-13", "macos-14", "macos-15"] + os: ["macos-13", "macos-14", "macos-15"] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - exclude: - - os: "macos-12" - python-version: "3.13" - steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/osx-test-with-brew.yml b/.github/workflows/osx-test-with-brew.yml index 79225889..ee34d6ce 100644 --- a/.github/workflows/osx-test-with-brew.yml +++ b/.github/workflows/osx-test-with-brew.yml @@ -9,10 +9,7 @@ jobs: strategy: matrix: python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] - runs-on: ["macos-12", "macos-13", "macos-14", "macos-15"] - exclude: - - os: "macos-12" - python-version: "3.13" + runs-on: ["macos-13", "macos-14", "macos-15"] runs-on: ${{ matrix.runs-on }} steps: diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 82c45eb2..fb8aba35 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -53,7 +53,7 @@ jobs: needs: publish-to-testpypi strategy: matrix: - os: ["ubuntu-24.04"," ubuntu-22.04", "ubuntu-20.04", "macos-12", "macos-13", "macos-14", "macos-15", "windows-2019", "windows-2022"] + os: ["ubuntu-24.04"," ubuntu-22.04", "ubuntu-20.04", "macos-13", "macos-14", "macos-15"] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout @@ -69,3 +69,24 @@ jobs: python3 -m venv venv venv/bin/pip install --upgrade pip venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test] + + test-pypi-package-windows: + runs-on: ${{ matrix.os }} + needs: publish-to-testpypi + strategy: + matrix: + os: ["windows-2019", "windows-2022"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: install python-snap7 + run: | + pip.exe install --upgrade pip + pip.exe install --extra-index-url https://test.pypi.org/simple/ python-snap7[test] diff --git a/.github/workflows/publish-test-pypi.yml b/.github/workflows/publish-test-pypi.yml index d5c03288..8051c49c 100644 --- a/.github/workflows/publish-test-pypi.yml +++ b/.github/workflows/publish-test-pypi.yml @@ -56,7 +56,7 @@ jobs: needs: publish-to-testpypi strategy: matrix: - os: ["ubuntu-24.04"," ubuntu-22.04", "ubuntu-20.04", "macos-12", "macos-13", "macos-14", "macos-15", "windows-2019", "windows-2022"] + os: ["ubuntu-24.04"," ubuntu-22.04", "ubuntu-20.04", "macos-13", "macos-14", "macos-15"] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout @@ -72,3 +72,24 @@ jobs: python3 -m venv venv venv/bin/pip install --upgrade pip venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test] + + test-pypi-package-windows: + runs-on: ${{ matrix.os }} + needs: publish-to-testpypi + strategy: + matrix: + os: ["windows-2019", "windows-2022"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: install python-snap7 + run: | + pip.exe install --upgrade pip + pip.exe install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]