Skip to content

Commit

Permalink
fix(tests): install test install deps
Browse files Browse the repository at this point in the history
Signed-off-by: spbsoluble <[email protected]>
  • Loading branch information
spbsoluble committed Sep 8, 2024
1 parent b8162b6 commit 6ed9b54
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,16 +325,16 @@ jobs:
# Tester Install Script
Test_Install_Script:
runs-on: ubuntu-latest
steps:
- name: Test Quick Install Script
run: |
apt update && apt upgrade -y && apt install -y curl, wget, unzip, jq openssl && apt clean
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/${GITHUB_REF_NAME}/install.sh)
which kfutil
kfutil version
rm $(which kfutil)
Test_Install_Script:
runs-on: ubuntu-latest
steps:
- name: Test Quick Install Script
run: |
sudo apt update && sudo apt upgrade -y && sudo apt install -y curl wget unzip jq openssl && sudo apt clean
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/${GITHUB_REF_NAME}/install.sh)
which kfutil
kfutil version
rm $(which kfutil)
# Package Tests
Test_Kfutil_pkg:
Expand Down
2 changes: 1 addition & 1 deletion cmd/storeTypes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func createAllStoreTypes(t *testing.T, storeTypes map[string]interface{}) {
ghBranch = strings.Replace(ghBranch, "refs/heads/", "", 1)
// url escape the branch name
ghBranch = url.QueryEscape(ghBranch)
testArgs = append(testArgs, "--git-ref", fmt.Sprintf("'%s'", ghBranch))
testArgs = append(testArgs, "--git-ref", fmt.Sprintf("%s", ghBranch))
t.Log("GITHUB_REF: ", ghBranch)
}
t.Log("testArgs: ", testArgs)
Expand Down

0 comments on commit 6ed9b54

Please sign in to comment.