Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Change testing python to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 21, 2024
1 parent be91984 commit 35b87bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ jobs:
qemu-user-static
xvfb

- name: Set up Python ${{ matrix.python_version || '3.10' }}
if: "!contains(matrix.shell, 'wsl')"
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version || '3.10' }}

- name: Enable caching
if: "!contains(matrix.shell, 'wsl')"
uses: actions/cache@v4
Expand Down
3 changes: 2 additions & 1 deletion tools/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ if [[ -f "/usr/bin/apt-get" ]]; then
-o=Dpkg::Use-Pty=0 "${DEBS[@]}"
fi
fi
python3 --version
log notice "Ensure python version is recent enough for using latest ansible-core"
python3 -c "import sys; print(sys.version_info[:2]); sys.exit(not sys.version_info[:2]>=(3, 10))"

# Ensure that git is configured properly to allow unattended commits, something
# that is needed by some tasks, like devel or deps.
Expand Down

0 comments on commit 35b87bf

Please sign in to comment.