Skip to content

Commit ecf269f

Browse files
committed
coverage: change github workspace owner for Linux coverage
1 parent f440fa9 commit ecf269f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
# Our self-hosted runners require a container
4747
# TODO: use a different (nvidia?) container
4848
container:
49+
options: -u root --security-opt seccomp=unconfined --shm-size 16g
4950
image: ubuntu:22.04
5051
env:
5152
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
@@ -66,6 +67,10 @@ jobs:
6667
with:
6768
fetch-depth: 0
6869

70+
- name: Fix workspace ownership
71+
run: |
72+
chown -R $(id -u):$(id -g) "$GITHUB_WORKSPACE"
73+
6974
- name: Install dependencies
7075
uses: ./.github/actions/install_unix_deps
7176
continue-on-error: false

0 commit comments

Comments
 (0)