Skip to content

Commit

Permalink
fixup! test: add install script tests
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Mar 21, 2024
1 parent aa017a7 commit f5986e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:

- name: Run install script tests
if: steps.changed-files.outputs.any_changed == 'true'
run: make -C install-script/test test
working-directory: install-script/test
run: make test
9 changes: 0 additions & 9 deletions install-script/test/install_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,6 @@ func TestInstallScript(t *testing.T) {
checkTags,
},
},
{
name: "same installation token",
options: installOptions{
installToken: installToken,
},
preActions: []checkFunc{preActionMockUserConfig, preActionWriteTokenToUserConfig},
preChecks: []checkFunc{checkBinaryNotCreated, checkConfigNotCreated, checkUserConfigCreated},
postChecks: []checkFunc{checkBinaryCreated, checkBinaryIsRunning, checkConfigCreated, checkUserConfigCreated, checkTokenInConfig},
},
} {
t.Run(spec.name, func(t *testing.T) {
runTest(t, &spec)
Expand Down

0 comments on commit f5986e5

Please sign in to comment.