diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9269594..9c9064e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,8 +12,17 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] - platform: ['macos-12', 'ubuntu-20.04', 'windows-2022'] + python: + - '3.8' + - '3.9' + - '3.10' + - '3.11' + - '3.12' + - '3.13' + platform: + - macos-latest + - ubuntu-latest + - windows-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c72e79d..3ce45db 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -6,6 +6,7 @@ on: push: tags: - 'v[0-9]*' + pull_request: workflow_dispatch: jobs: @@ -28,6 +29,8 @@ jobs: architecture: x86 - os: windows architecture: AMD64 + - os: windows + architecture: ARM64 steps: - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v2 @@ -42,7 +45,7 @@ jobs: with: architecture: x86 if: runner.os == 'Windows' && matrix.architecture == 'x86' - - run: pipx run cibuildwheel~=2.16.0 + - run: pipx run cibuildwheel~=2.21.0 env: CIBW_SKIP: pp* cp36-* *-musllinux* CIBW_ARCHS: ${{ matrix.architecture }} @@ -63,18 +66,18 @@ jobs: name: sdist path: dist/*.tar.gz - upload: - needs: - - wheels - - sdist - runs-on: ubuntu-latest - steps: - - uses: actions/download-artifact@v4 - with: - merge-multiple: true - path: dist - - run: python -m pip install twine - - run: python -m twine upload dist/* - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI }} + # upload: + # needs: + # - wheels + # - sdist + # runs-on: ubuntu-latest + # steps: + # - uses: actions/download-artifact@v4 + # with: + # merge-multiple: true + # path: dist + # - run: python -m pip install twine + # - run: python -m twine upload dist/* + # env: + # TWINE_USERNAME: __token__ + # TWINE_PASSWORD: ${{ secrets.PYPI }}