Skip to content

Commit

Permalink
Fix --pre workflow: missing setup to enable pyautogui usage on Li…
Browse files Browse the repository at this point in the history
…nux (napari#6713)

# References and relevant issues

Failing workflow run pointing a missing `.Xauthority` file:
https://github.com/napari/napari/actions/runs/8155927521/job/22292469324#step:7:212

Caused due to napari#6406 

# Description

Add missing `.Xauthority` file creation step on the `--pre Test`
workflow definition when running on Linux
  • Loading branch information
dalthviz authored Mar 5, 2024
1 parent 10a2ff6 commit d691a60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test_prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
powershell gl-ci-helpers/appveyor/install_opengl.ps1
if (Test-Path -Path "C:\Windows\system32\opengl32.dll" -PathType Leaf) {Exit 0} else {Exit 1}
# setup needed to use pyautogui
- name: create .Xauthority file
if: runner.os == 'Linux'
run: |
touch /home/runner/.Xauthority
- name: Install dependencies
run: |
pip install --upgrade pip
Expand Down

0 comments on commit d691a60

Please sign in to comment.