Skip to content

Commit 0140f74

Browse files
committed
Configure git safe directory
1 parent 15ceb54 commit 0140f74

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,26 @@ jobs:
2424
env:
2525
DISPLAY: ':99.0'
2626
steps:
27-
-
28-
name: Apt dependencies
27+
- name: Apt dependencies
2928
shell: bash
3029
run: |
3130
apt update
3231
apt install -y libglu1-mesa libglib2.0-0 libfontconfig1 libegl-dev libxkbcommon-x11-0 xvfb libdbus-1-3
3332
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
34-
-
35-
uses: actions/checkout@v4
36-
-
37-
name: Install
33+
34+
- uses: actions/checkout@v4
35+
36+
- name: Configure Git safe directory
37+
shell: bash
38+
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
39+
40+
- name: Install
3841
shell: bash
3942
run: |
4043
cd ${GITHUB_WORKSPACE}
4144
pip install .[test]
42-
-
43-
name: Test
45+
46+
- name: Test
4447
shell: bash
4548
run: |
4649
cd ${GITHUB_WORKSPACE}

0 commit comments

Comments
 (0)