Skip to content

Commit 2fb58ee

Browse files
committed
Run tests on Windows
1 parent 111f845 commit 2fb58ee

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,11 @@ jobs:
139139
--partial
140140
141141
Windows:
142-
name: Windows (Stubs)
142+
name: Windows
143143
runs-on: windows-latest
144144

145+
needs: Linux
146+
145147
strategy:
146148
matrix:
147149
go: [ 'oldstable', 'stable' ]

.scripts/windows.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
$env:EK_TEST_PORT = "8080"
2+
13
<# Download dependencies #>
24
function Get-Deps {
35
go get -v golang.org/x/crypto/bcrypt
@@ -9,5 +11,11 @@ function Install-All {
911
go install ./...
1012
}
1113

14+
<# Runt tests #>
15+
function Run-Tests {
16+
go test ./...
17+
}
18+
1219
Get-Deps
1320
Install-All
21+
Run-Tests

0 commit comments

Comments
 (0)