From 14bbc8f3a4d0b64bac683611cb5e38bfe33a2d44 Mon Sep 17 00:00:00 2001 From: Fabiana Campanari Date: Tue, 5 Mar 2024 19:35:19 -0300 Subject: [PATCH] Update setup-python-action.yml Signed-off-by: Fabiana Campanari --- .github/workflows/setup-python-action.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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)"