Skip to content

Commit

Permalink
A stab at addressing timeouts on Windows CI
Browse files Browse the repository at this point in the history
Might help with clj-commons#465
  • Loading branch information
lread committed Jul 2, 2022
1 parent e6b0240 commit e775ad4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
name: ${{ matrix.desc }}

steps:
- name: Tune Windows network
if: ${{ matrix.os == 'windows' }}
run: Disable-NetAdapterChecksumOffload -Name * -TcpIPv4 -UdpIPv4 -TcpIPv6 -UdpIPv6

- uses: actions/checkout@v3

Expand All @@ -69,15 +72,15 @@ jobs:
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
restore-keys: cljdeps-

- name: "Install Missing Windows Bits"
- name: Install Missing Windows Bits
if: ${{ matrix.os == 'windows' }}
run: |
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
choco install --no-progress --yes imagemagick
refreshenv
Write-Output "$env:PATH" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: "Setup Java"
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
Expand Down

0 comments on commit e775ad4

Please sign in to comment.