Skip to content

Commit fd3df49

Browse files
committed
add tests
1 parent d7e2234 commit fd3df49

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
ahk-tag: v1.1.37.02
101101
github-token: ${{ secrets.GITHUB_TOKEN }}
102102

103-
- name: Test v1.1 x64
103+
- name: Test v1.1 x86
104104
uses: ./
105105
with:
106106
in: .\testing\v1.1.ahk
@@ -111,6 +111,28 @@ jobs:
111111
ahk-tag: v1.1.37.02
112112
github-token: ${{ secrets.GITHUB_TOKEN }}
113113

114+
- name: Test v2.0 w/ BinMod
115+
uses: ./
116+
with:
117+
in: .\testing\v2.0_binmod.ahk
118+
out: .\output\v2.0_binmod_x64.exe
119+
icon: .\testing\icons\test.ico
120+
compression: upx
121+
target: x64
122+
github-token: ${{ secrets.GITHUB_TOKEN }}
123+
124+
- name: Test v1.1 w/ BinMod
125+
uses: ./
126+
with:
127+
in: .\testing\v1.1_binmod.ahk
128+
out: .\output\v1.1_binmod_x64.exe
129+
icon: .\testing\icons\test.ico
130+
compression: upx
131+
target: x64
132+
ahk-tag: v1.1.37.02
133+
github-token: ${{ secrets.GITHUB_TOKEN }}
134+
135+
114136
- name: Check for Failed Test
115137
run: |
116138
if(
@@ -122,7 +144,9 @@ jobs:
122144
[System.IO.File]::Exists('.\output\v2.0_x86_resourceid.exe') &&
123145
[System.IO.File]::Exists('.\output\v2.0_x64_tagged.exe') &&
124146
[System.IO.File]::Exists('.\output\v1.1_x86.exe') &&
125-
[System.IO.File]::Exists('.\output\v1.1_x64.exe')
147+
[System.IO.File]::Exists('.\output\v1.1_x64.exe') &&
148+
[System.IO.File]::Exists('.\output\v2.0_x64_binmod.exe') &&
149+
[System.IO.File]::Exists('.\output\v1.1_x64_binmod.exe')
126150
) {
127151
Write-Output "$($PSStyle.Foreground.Green)All Tests Passed!$($PSStyle.Reset)"
128152
} else {

0 commit comments

Comments
 (0)