Commit graph inspector/.github/workflows/cli_tests.yml
Author SHA1 Message Date
dependabot[bot]
1f9d922475
Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-09 23:27:21 +00:00
dependabot[bot]
613c650c40
Bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 13:26:54 +00:00
Bob Dickinson
44d0e580f6
Converted CLI tests to use vitest (#1012)
* Pinned server-everything, fixed all tests to work with current pinned version, fixed problem with undetected failures (isError: true payloads).

* First working vitest implementation

* Refactoring some single-use configs fixtures and into the refeencing tests

* No tests refere to server-everything (or any other server from a registry), all tests actually validate what they say they test.

* Removed server-everything dep from CI, minor cleanup

* Addressed Claude PR review comments: Added tsx dev dependency, beefed up process termination (possible leak on Windows), beefed up http server cleanup (close all connections), removed unused hasValidJsonOutput, reduced CLI timeout to give it breathing room with vitest timeout.

* Made both stdio and http test servers fully composable, cleaned up types, terminology, and usage.
2026-01-19 08:12:00 -07:00
François Leblanc
b84e5271f4 Explicitly exit process for CI 2025-07-14 23:35:52 -04:00
François Leblanc
ff2d932904 Add await to runCli call 2025-07-14 23:27:58 -04:00
François Leblanc
616ef0d04c Use the node version in root package.json 2025-07-14 23:22:47 -04:00
François Leblanc
b6a4aa40cb Install more, but stay put 2025-07-14 23:21:15 -04:00
François Leblanc
c1ab2a52d2 Stay in cli/ but ignore scripts? 2025-07-14 23:19:05 -04:00
François Leblanc
f10b76b0ae Run commands from root dir instead 2025-07-14 23:17:06 -04:00
François Leblanc
9adcc0dd77 Add logging for pwd 2025-07-14 23:10:56 -04:00
François Leblanc
718e61d492 Use simpler install method? 2025-07-14 22:36:00 -04:00
François Leblanc
ace91a81ad Use Node version defined in cli/package.json 2025-07-14 22:25:47 -04:00
François Leblanc
ea6177b552 Run in both pull requests and push events 2025-07-14 22:11:37 -04:00
François Leblanc
f49f97f585 Run prettier 2025-07-14 22:07:12 -04:00
François Leblanc
b3cb844730 Run the CLI tests in CI
Right now, the inspector has a CLI feature as well as a series of tests.
However, they're not currently run in CI. For the moment, they are only
triggered on file changes in the CLI folder, as AFAICT it is currently a
separate code base.
2025-07-14 14:33:08 -04:00