Skip to content

Commit

Permalink
chore: use newer python for dlevel (#257)
Browse files Browse the repository at this point in the history
* chore: use newer python for dlevel

* chore: fix python version

* chore: tweak python again

* chore: update ubuntu wsl version

* Update .github/workflows/ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Revert "Update ansible-test-windows.yml"

This reverts commit a4061b7.

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml

* Update ansible-test-windows.yml
  • Loading branch information
lowlydba authored Sep 7, 2024
1 parent 655394d commit 5075c38
Showing 1 changed file with 8 additions and 16 deletions.
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

0 comments on commit 5075c38

Please sign in to comment.