Skip to content

Commit

Permalink
Reset permissions for gcda files after running tests as sudo.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Feb 21, 2023
1 parent 7aa318a commit 77a69fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ jobs:
sleep 15
working-directory: test

# Run as sudo to be able to bind to DHCP client port, then reset
# permissions to code coverage files if necessary
- name: Run tests
run: sudo ctest --verbose -C RelWithDebInfo
run: |
sudo ctest --verbose -C RelWithDebInfo
sudo chmod -R a+rw .
working-directory: build
env:
WPAD: true
Expand Down

0 comments on commit 77a69fa

Please sign in to comment.