Skip to content

Commit 8bec46d

Browse files
authored
Merge pull request #520 from nextstrain/windows-docker
run-integration-test: workaround docker in windows
2 parents b555a87 + 927ed09 commit 8bec46d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/actions/run-integration-tests/action.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ inputs:
1717
runs:
1818
using: composite
1919
steps:
20+
# Workaround for Docker issue in windows runner
21+
# See <https://github.com/actions/runner-images/issues/13729#issuecomment-4183956802>
22+
- if: runner.os == 'Windows'
23+
shell: pwsh
24+
run: |
25+
$dockerState = Get-Service -Name "docker"
26+
if ($dockerState.Status -ne "Running") {
27+
Start-Service -Name "docker"
28+
}
29+
2030
- shell: bash -l -eo pipefail {0}
2131
run: nextstrain version --verbose
2232

0 commit comments

Comments
 (0)