diff --git a/.github/workflows/test-from-pypi.yml b/.github/workflows/test-from-pypi.yml index aa9937038..fe0d4c60a 100644 --- a/.github/workflows/test-from-pypi.yml +++ b/.github/workflows/test-from-pypi.yml @@ -45,32 +45,26 @@ jobs: strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-architecture: [x86, x64, arm64] - exclude: - - os: ubuntu-latest - python-architecture: arm64 - - os: ubuntu-latest - python-architecture: x86 - - os: windows-latest - python-architecture: arm64 - - os: macos-latest - python-architecture: x86 - - os: macos-latest - python-architecture: x64 - - os: macos-13 - python-architecture: x86 - - os: macos-13 - python-architecture: arm64 + platform: + - os: ubuntu-latest + architecture: x64 + - os: windows-latest + architecture: x64 + - os: windows-latest + architecture: x86 + - os: macos-latest + architecture: arm64 + - os: macos-13 + architecture: x64 - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.platform.os }} steps: - - name: Set up Python ${{ matrix.python-version }} (${{ matrix.python-architecture }}) + - name: Set up Python ${{ matrix.python-version }} (${{ matrix.platform.architecture }}) uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: ${{ matrix.python-architecture }} + architecture: ${{ matrix.platform.architecture }} allow-prereleases: true - name: Install test dependencies and Traits from PyPI wheel run: |