Skip to content

Commit

Permalink
patch: setup virtual drive on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed May 13, 2024
1 parent 8bd537a commit 217da83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ runs:
Initialize-Disk -Number $diskNumber -PartitionStyle MBR
New-Partition -DiskNumber $diskNumber -UseMaximumSize -AssignDriveLetter
Get-Partition -DiskNumber 2 | Set-Partition -NewDriveLetter Z
Get-Partition -DiskNumber $diskNumber | Set-Partition -NewDriveLetter Z
# Output the details of the new drive
Write-Output "New virtual disk created and accessible at drive letter: Z"
echo "TARGET_DRIVE=Z:\\" >> %GITHUB_ENV%
echo "TARGET_DRIVE=Microsoft Virtual Disk" >> %GITHUB_ENV%
- name: Test release
shell: bash
Expand All @@ -125,7 +125,7 @@ runs:
if [[ '${{ runner.os }}' == 'Linux' ]]; then
# linux doesn't support e2e tests yet
npm run wdio:unit
elif [[ '${{ runner.os }}' == 'Windows' ]]; then
else
# download the test source
wget -q -O ${{ env.TEST_SOURCE_FILE }} ${{ env.TEST_SOURCE_URL }}
# E2E tests can't input the administrative password, therefore the tests need to run as root
Expand Down

0 comments on commit 217da83

Please sign in to comment.