Skip to content

Commit

Permalink
Windows Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Jan 22, 2025
1 parent 28186ff commit fdcf197
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################
-####################
### EXAMPLE FILE ###
####################

Expand All @@ -7,13 +7,13 @@
# For git password please use your generated git token, not a clear text password

VSCODE_EXECUTABLE_PATH='/usr/share/code/code'
VSIX_FILE_NAME='konveyor-v0.0.4.vsix'
DEFAULT_VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.4/konveyor-v0.0.4.vsix'
VSIX_FILE_NAME='konveyor-v0.0.5.vsix'
DEFAULT_VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.5/konveyor-v0.0.5.vsix'
PLUGIN_URL= 'https://github.com/konveyor/editor-extensions/releases/download/'
PLUGIN_VERSION= 'v0.0.4'
PLUGIN_VERSION= 'v0.0.5'

# For Windows Path needs to be given in below format
# VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe'
WINDOWS_VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe'

# For Linux
# VSCODE_EXECUTABLE_PATH='/usr/share/code/code'
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/windows-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ jobs:
runs-on: ${{ needs.start-ec2-instance.outputs.instance_label }}
steps:
- name: Install Node.js
run: |
echo "host : ${{ needs.start-ec2-instance.get-ec2-host.outputs.ec2-host }}"
echo "host : ${{ needs.start-ec2-instance.get-ec2-host.ec2-host }}"
echo "host : ${{ needs.start-ec2-instance.outputs.ec2-host }}"
choco install nodejs -y
run: choco install nodejs -y
shell: powershell

run-test-as-nonadmin:
Expand Down Expand Up @@ -58,7 +54,6 @@ jobs:

- name: Copy batch file to Windows EC2 instance
run: |
echo "host : ${{ needs.start-ec2-instance.outputs.ec2-host }}"
sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no clone-repo.bat ${EC2_USER}@${{ needs.start-ec2-instance.outputs.ec2-host }}:C:\\Users\\nonadmin\\clone-repo.bat
sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no execute-tests.bat ${EC2_USER}@${{ needs.start-ec2-instance.outputs.ec2-host }}:C:\\Users\\nonadmin\\execute-tests.bat
env:
Expand Down

0 comments on commit fdcf197

Please sign in to comment.