Skip to content

Commit 5dc6e58

Browse files
committed
feat: added command not found
1 parent 7f7f301 commit 5dc6e58

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/run-all-unit-tests.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ jobs:
2929
- name: Enable linger for admin user (Linux only)
3030
if: runner.os == 'Linux'
3131
run:
32-
loginctl enable-linger $(whoami)
33-
sudo rm -f /etc/apt/apt.conf.d/50command-not-found
32+
loginctl enable-linger $(whoami
3433
- run: npm ci
3534
- run: npx tsx scripts/cleanup-github-actions.ts
3635

37-
# - name: Setup tmate session
38-
# uses: mxschmitt/action-tmate@v3
36+
- name: Setup tmate session
37+
uses: mxschmitt/action-tmate@v3
3938

4039
- run: npm run test -- ./test --no-file-parallelism --silent=passed-only

scripts/cleanup-github-actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ await PluginTester.uninstall(pluginPath, [
99
{ type: 'aws-cli'}
1010
]);
1111

12-
await testSpawn('apt-get autoremove -y ruby rpm python', { requiresRoot: true });
12+
await testSpawn('apt-get autoremove -y ruby rpm python command-not-found', { requiresRoot: true });
1313
await testSpawn('rustup self uninstall -y');
1414

1515
await testSpawn('rm -rf /usr/bin/go', { requiresRoot: true })

0 commit comments

Comments
 (0)