Skip to content

Commit 77a69fa

Browse files
committed
Reset permissions for gcda files after running tests as sudo.
1 parent 7aa318a commit 77a69fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ubuntu.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,12 @@ jobs:
6767
sleep 15
6868
working-directory: test
6969

70+
# Run as sudo to be able to bind to DHCP client port, then reset
71+
# permissions to code coverage files if necessary
7072
- name: Run tests
71-
run: sudo ctest --verbose -C RelWithDebInfo
73+
run: |
74+
sudo ctest --verbose -C RelWithDebInfo
75+
sudo chmod -R a+rw .
7276
working-directory: build
7377
env:
7478
WPAD: true

0 commit comments

Comments
 (0)