Skip to content

Commit

Permalink
Apply the same approach to test-pypi-sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed May 8, 2024
1 parent 5c3d1c7 commit 261b70a
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/test-from-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 261b70a

Please sign in to comment.