Skip to content

Commit

Permalink
Update setup-python-action.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiana Campanari <[email protected]>
  • Loading branch information
FabianaCampanari committed Mar 5, 2024
1 parent c39420f commit 14bbc8f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/setup-python-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

0 comments on commit 14bbc8f

Please sign in to comment.