Skip to content

Commit 131ddf5

Browse files
committed
feat: added command not found
1 parent eb42ea0 commit 131ddf5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
- name: Enable linger for admin user (Linux only)
3030
if: runner.os == 'Linux'
3131
run: loginctl enable-linger $(whoami)
32-
- run: npm ci
33-
- run: npx tsx scripts/cleanup-github-actions.ts
3432

3533
- name: Setup tmate session
3634
uses: mxschmitt/action-tmate@v3
3735

36+
- run: npm ci
37+
- run: npx tsx scripts/cleanup-github-actions.ts
38+
3839
- run: npm run test -- ./test --no-file-parallelism --silent=passed-only

scripts/cleanup-github-actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ const pluginPath = path.resolve('./src/index.ts');
66
// Uninstall resources that have Codify resource definitions
77
await PluginTester.uninstall(pluginPath, [
88
{ type: 'docker' },
9-
// { type: 'aws-cli'}
9+
{ 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)