Skip to content

Commit

Permalink
actions: run sipssert as root
Browse files Browse the repository at this point in the history
This "solves" the tcpdump permission
  • Loading branch information
razvancrainea committed Mar 21, 2024
1 parent 11da83e commit 6ccb077
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions actions/Prepare_SIPssert/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: 'composite'
steps:
- name: Checkout SIPssert repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.sipssert-repo }}
path: sipssert
Expand All @@ -22,15 +22,15 @@ runs:
run: |
sudo apt update && sudo apt install -y tcpdump
shell: bash

- name: Install SIPssert framework
run: |
cd sipssert
python3 setup.py install --user clean
shell: bash

- name: Checkout Tests repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.tests-repo }}
path: tests
2 changes: 1 addition & 1 deletion actions/Run_All_Tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- name: Run All Tests
run: |
cd tests
sh -x ./run-all.sh
sudo sh -x ./run-all.sh
shell: bash

- name: Publish logs
Expand Down
2 changes: 1 addition & 1 deletion actions/Run_Test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
- name: Run All Tests
run: |
cd tests
SETS=${{ inputs.test_set }} sh -x ./run-all.sh
SETS=${{ inputs.test_set }} sudo sh -x ./run-all.sh
shell: bash

- name: Publish logs
Expand Down

0 comments on commit 6ccb077

Please sign in to comment.