mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-01 08:59:39 +02:00
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:
parent
28b5e2a83e
commit
0a261fe8a4
20 changed files with 272 additions and 21 deletions
|
|
@ -281,7 +281,7 @@ describe('runKtxDoctor', () => {
|
|||
});
|
||||
|
||||
it('runs project checks against a valid ktx.yaml', async () => {
|
||||
process.env.ANTHROPIC_API_KEY = 'test-key';
|
||||
process.env.ANTHROPIC_API_KEY = 'test-key'; // pragma: allowlist secret
|
||||
await writeFile(
|
||||
join(tempDir, 'ktx.yaml'),
|
||||
[
|
||||
|
|
@ -306,7 +306,7 @@ describe('runKtxDoctor', () => {
|
|||
].join('\n'),
|
||||
'utf-8',
|
||||
);
|
||||
process.env.OPENAI_API_KEY = 'test-key';
|
||||
process.env.OPENAI_API_KEY = 'test-key'; // pragma: allowlist secret
|
||||
const testIo = makeIo();
|
||||
|
||||
await expect(
|
||||
|
|
@ -357,7 +357,7 @@ describe('runKtxDoctor', () => {
|
|||
});
|
||||
|
||||
it('warns when semantic-search embeddings are not configured', async () => {
|
||||
process.env.ANTHROPIC_API_KEY = 'test-key';
|
||||
process.env.ANTHROPIC_API_KEY = 'test-key'; // pragma: allowlist secret
|
||||
await writeFile(
|
||||
join(tempDir, 'ktx.yaml'),
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue