diff --git a/.github/workflows/setup-python-action.yml b/.github/workflows/setup-python-action.yml index 6ae6f42..2fff7fb 100644 --- a/.github/workflows/setup-python-action.yml +++ b/.github/workflows/setup-python-action.yml @@ -6,17 +6,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - - name: Set up Python - # This is the version of the action for setting up Python, not the Python version. + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - # Semantic version range syntax or exact version of a Python version - python-version: '3.x' - # Optional - x64 or x86 architecture, defaults to x64 - architecture: 'x64' + python-version: ${{ matrix.python-version }} # You can test your matrix by printing the current Python version - name: Display Python version run: python -c "import sys; print(sys.version)"