File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -90,22 +90,22 @@ jobs:
9090 echo "anyvm" > ${mountdir}/justcheck.txt
9191 echo "anyvm" > ${mountdir}/.dotfile
9292 mkdir -p ../test_output
93- python anyvm.py --debug --data-dir ../test_output --os "${{ inputs.os }}" --release "${{ inputs.release }}" --arch "${{ inputs.arch }}" -d -v "${mountdir}:${{ inputs.vmpath }}" --ssh-port 10022 --ssh-name "testname" -p 20022:22 --nc "${{ inputs.nc }}" --sync "${{ inputs.sync }}" --sync-time
93+ python anyvm.py --debug --data-dir ../test_output --os "${{ inputs.os }}" --release "${{ inputs.release }}" --arch "${{ inputs.arch }}" -d -v "${mountdir}:${{ inputs.vmpath }}" --ssh-port 10022 --ssh-name "testname" -p 20022:22 --nc "${{ inputs.nc }}" --sync "${{ inputs.sync }}" --sync-time --remote-vnc no
9494 # We use the ssh port as an alias to the vm, so we can use 'ssh $port' to login
9595 echo "===============test 1"
9696 ${{ inputs.sleep }}
97- ssh -v 10022 ls -lah ${{ inputs.vmpath }}
97+ ssh -v 10022 ls -lah ${{ inputs.vmpath }};
9898 echo "===============test 2"
9999 ${{ inputs.sleep }}
100- ssh -v 10022 ls ${{ inputs.vmpath }} | grep justcheck.txt
100+ ssh -v 10022 ls ${{ inputs.vmpath }} | grep justcheck.txt;
101101 ${{ inputs.sleep }}
102- ssh -v 10022 ls -lah ${{ inputs.vmpath }} | grep '.dotfile'
102+ ssh -v 10022 ls -lah ${{ inputs.vmpath }} | grep '.dotfile';
103103 echo "===============test 3"
104104 ${{ inputs.sleep }}
105- ssh -v testname ls ${{ inputs.vmpath }} | grep justcheck.txt
105+ ssh -v testname ls ${{ inputs.vmpath }} | grep justcheck.txt;
106106 echo "===============test 4"
107107 ${{ inputs.sleep }}
108- ssh -v -p 20022 -o StrictHostKeyChecking=accept-new ${{ inputs.user }}@localhost ls ${{ inputs.vmpath }} | grep justcheck.txt
108+ ssh -v -p 20022 -o StrictHostKeyChecking=accept-new ${{ inputs.user }}@localhost ls ${{ inputs.vmpath }} | grep justcheck.txt;
109109
110110
111111
Original file line number Diff line number Diff line change @@ -187,6 +187,10 @@ def debuglog(enabled, msg):
187187
188188def is_browser_available ():
189189 """Returns True if the current environment can likely open a local browser."""
190+ # Always return False in CI environments
191+ if os .environ .get ("GITHUB_ACTIONS" ) == "true" :
192+ return False
193+
190194 try :
191195 if IS_WINDOWS :
192196 return True
You can’t perform that action at this time.
0 commit comments