Skip to content

Commit

Permalink
ci: Fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Oct 17, 2023
1 parent 98aea1f commit 14d2cc3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{matrix.python_version}}
- name: Download GTK Runtime Installer (Windows only)
if: matrix.os == 'windows-latest'
run: |
choco install wget -y
wget https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2022-01-04/gtk3-runtime-3.24.31-2022-01-04-ts-win64.exe
- name: Install GTK Runtime (Windows only)
if: matrix.os == 'windows-latest'
shell: powershell
run: |
Start-Process -FilePath "gtk3-runtime-3.24.31-2022-01-04-ts-win64.exe" -ArgumentList "/SILENT /LOG=install.log" -Wait -NoNewWindow
Get-Content "install.log"
- uses: actions/cache@v3
with:
path: ~/.cache/pip
Expand All @@ -49,7 +60,6 @@ jobs:
run: |-
python -m pytest --cov-report=term --cov=capella2polarion --rootdir=.
# publish:
# name: Publish artifacts
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 14d2cc3

Please sign in to comment.