Skip to content

Commit

Permalink
sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
llimllib committed May 23, 2024
1 parent 6bf551c commit b83d207
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
check-latest: true
- name: Test
run: |
apt-get update
apt-get install -y software-properties-common git build-essential clang libssl-dev libkrb5-dev libc++-dev wget python3
sudo apt-get update
sudo apt-get install -y software-properties-common git build-essential clang libssl-dev libkrb5-dev libc++-dev wget python3
mkdir ~/.ssh_tests
chmod 700 ~/.ssh_tests
printf "%b" "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh_tests/config
Expand All @@ -38,9 +38,12 @@ jobs:
chmod 600 "$HOME/.ssh_tests/id_rsa*"
git config --global user.name "John Doe"
git config --global user.email [email protected]
set -e
eval "$(ssh-agent -s)"
ssh-add ~/.ssh_tests/id_rsa
npm install
npm test
# TODO: limit this job to main and v... tags?
Expand Down

0 comments on commit b83d207

Please sign in to comment.