Skip to content

Commit

Permalink
use sudo in win & linux
Browse files Browse the repository at this point in the history
  • Loading branch information
midleman committed Dec 13, 2024
1 parent 872fe32 commit 89147d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test-e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ jobs:
with:
node-version-file: .nvmrc

- run: sudo apt-get update && sudo apt-get install -y python3-pip && pip3 install trcli
- run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install trcli
- name: Transform to Playwright tags $PW_TAGS
run: bash scripts/pr-tags-transform.sh ${{ inputs.project}} "${{ inputs.grep }}"
shell: bash
Expand Down Expand Up @@ -139,7 +133,7 @@ jobs:
- name: Install trcli
if: ${{ inputs.report_testrail }}
shell: bash
run: apt-get update && apt-get install -y python3-pip && pip3 install trcli
run: sudo apt-get update && sudo apt-get install -y python3-pip && pip3 install trcli

- name: Upload Test Results to TestRail
if: ${{ inputs.report_testrail }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Install trcli
if: ${{ inputs.report_testrail }}
shell: bash
run: apt-get update && apt-get install -y python3-pip && pip3 install trcli
run: sudo apt-get update && sudo apt-get install -y python3-pip && pip3 install trcli

- name: Upload Test Results to TestRail
if: ${{ inputs.report_testrail }}
Expand Down

0 comments on commit 89147d7

Please sign in to comment.