Skip to content

Commit 013a263

Browse files
Merge pull request #5 from garrettsummerfi3ld/feature/test-on-complete
2 parents faac8b6 + d0c07d6 commit 013a263

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10"]
18+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1919
steps:
2020
- uses: actions/checkout@v3
2121
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
python-version: ["3.8", "3.9", "3.10"]
22+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2323

2424
steps:
2525
- uses: actions/checkout@v3

.github/workflows/validate-win.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
python-version: ["3.8", "3.9", "3.10"]
23-
win-version: ["windows-2019", "windows-2022"]
22+
python-version: ["3.8", "3.9", "3.10", "3.11"]
23+
win-version: ["windows-2019", "windows-2022", "windows-latest"]
2424

2525
steps:
2626
- uses: actions/checkout@v3
@@ -36,4 +36,27 @@ jobs:
3636
uses: microsoft/setup-msbuild@v1.3.1
3737
- name: Run script
3838
run: |
39-
python setup.py
39+
python setup.py
40+
- name: Output PATH
41+
run: |
42+
echo $PATH
43+
- name: Run Minimal wxWidgets sample (VS 2019)
44+
if: matrix.win-version == 'windows-2019'
45+
run: |
46+
$folderWildCard = "wxWidgets-*"
47+
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
48+
$folderPath = $folder.FullName # Get the full path of the selected folder
49+
msbuild "$folderPath\samples\minimal\minimal_vc16.sln"
50+
- name: Run Minimal wxWidgets sample (VS 2022)
51+
if: matrix.win-version == 'windows-2022' || matrix.win-version == 'windows-latest'
52+
run: |
53+
$folderWildCard = "wxWidgets-*"
54+
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
55+
$folderPath = $folder.FullName # Get the full path of the selected folder
56+
msbuild "$folderPath\samples\minimal\minimal_vc17.sln"
57+
- name: Find built binary
58+
run: |
59+
$folderWildCard = "wxWidgets-*"
60+
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
61+
$binary = Get-ChildItem -Path "$folder\samples\minimal\vc_mswud\*.exe" | Select-Object -First 1
62+
echo $binary

0 commit comments

Comments
 (0)