Skip to content

Commit 6ed9b54

Browse files
committed
fix(tests): install test install deps
Signed-off-by: spbsoluble <[email protected]>
1 parent b8162b6 commit 6ed9b54

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -325,16 +325,16 @@ jobs:
325325
326326
327327
# Tester Install Script
328-
Test_Install_Script:
329-
runs-on: ubuntu-latest
330-
steps:
331-
- name: Test Quick Install Script
332-
run: |
333-
apt update && apt upgrade -y && apt install -y curl, wget, unzip, jq openssl && apt clean
334-
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/${GITHUB_REF_NAME}/install.sh)
335-
which kfutil
336-
kfutil version
337-
rm $(which kfutil)
328+
Test_Install_Script:
329+
runs-on: ubuntu-latest
330+
steps:
331+
- name: Test Quick Install Script
332+
run: |
333+
sudo apt update && sudo apt upgrade -y && sudo apt install -y curl wget unzip jq openssl && sudo apt clean
334+
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/${GITHUB_REF_NAME}/install.sh)
335+
which kfutil
336+
kfutil version
337+
rm $(which kfutil)
338338
339339
# Package Tests
340340
Test_Kfutil_pkg:

cmd/storeTypes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func createAllStoreTypes(t *testing.T, storeTypes map[string]interface{}) {
217217
ghBranch = strings.Replace(ghBranch, "refs/heads/", "", 1)
218218
// url escape the branch name
219219
ghBranch = url.QueryEscape(ghBranch)
220-
testArgs = append(testArgs, "--git-ref", fmt.Sprintf("'%s'", ghBranch))
220+
testArgs = append(testArgs, "--git-ref", fmt.Sprintf("%s", ghBranch))
221221
t.Log("GITHUB_REF: ", ghBranch)
222222
}
223223
t.Log("testArgs: ", testArgs)

0 commit comments

Comments
 (0)