ci: add codecov coverage reporting (#82)

* ci: add codecov coverage reporting

* ci: fix codecov and secret scan checks

* ci: fix smoke and artifact checks
This commit is contained in:
Andrey Avtomonov 2026-05-14 01:13:31 +02:00 committed by GitHub
parent 28b5e2a83e
commit 0a261fe8a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 272 additions and 21 deletions

View file

@ -200,9 +200,13 @@ describe('standalone built ktx CLI smoke', () => {
it('runs doctor setup through the built binary', async () => {
const result = await runBuiltCli(['status', '--no-input']);
expect(result.stdout).toMatch(/KTX (setup|project) doctor/);
expect(result.stdout).toContain('Node 22+');
expect(result.stdout).toContain('Workspace-local CLI');
expect(result.stdout).toMatch(/KTX (setup doctor|project doctor|status)/);
if (result.stdout.includes('No project here yet.')) {
expect(result.stdout).toContain('Before you can run ktx setup');
} else {
expect(result.stdout).toContain('Node 22+');
expect(result.stdout).toContain('Workspace-local CLI');
}
expect(result.stderr === '' || result.stderr.startsWith('Project: ')).toBe(true);
expect([0, 1]).toContain(result.code);
});