Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use newer python for dlevel #257

Merged
merged 17 commits into from
Sep 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions .github/workflows/ansible-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,18 @@ jobs:
matrix:
os:
- windows-2022
wsl:
- Ubuntu-24.04
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- stable-2.17
- devel
python:
- python3
- python3.10
group: # windows/group/#/
- "1"
- "2"
#- '3'
exclude:
- ansible: stable-2.13
python: python3.10
- ansible: stable-2.14
python: python3.10
- ansible: stable-2.15
python: python3.10
- ansible: devel
python: python3
defaults:
run:
shell: wsl-bash {0}
Expand Down Expand Up @@ -106,8 +96,8 @@ jobs:

- uses: Vampire/[email protected]
with:
distribution: Ubuntu-22.04
update: "true"
distribution: ${{ matrix.wsl }}
update: "false"
use-cache: "true"
additional-packages: |
git
Expand Down Expand Up @@ -141,9 +131,11 @@ jobs:
$ws = ConvertTo-LinuxPathCrappy -LiteralPath "${{ github.workspace }}"
Add-Content -LiteralPath $env:GITHUB_ENV -Value "GHWS=$ws"

# Override break-sys-pkg defaults, because we don't need to bother with python venv for CI
- name: Install ansible-base (${{ matrix.ansible }})
run: |
${{ matrix.python }} -m pip install --upgrade pip setuptools pypsrp --disable-pip-version-check --retries 10
${{ matrix.python }} -m pip config set global.break-system-packages true
${{ matrix.python }} -m pip install --upgrade setuptools pypsrp --disable-pip-version-check --retries 10
${{ matrix.python }} -m pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check --retries 10

- name: Install collection dependencies
Expand Down
Loading