Skip to content

Bumped v0.2.0

Bumped v0.2.0 #128

Triggered via push May 10, 2024 13:37
Status Failure
Total duration 1m 27s
Billable time 5m
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 notices
Linting: lib/generator.ts#L55
Trailing spaces not allowed
Linting: lib/generator.ts#L66
Unexpected any value in conditional. An explicit comparison or type cast is required
Linting: lib/generator.ts#L131
Unexpected trailing comma
Linting: lib/generator.ts#L153
Unexpected any value in conditional. An explicit comparison or type cast is required
Linting
Process completed with exit code 1.
adds env variables to .env: tests/unit/generator.test.ts#L68
[Error [ERR_TEST_FAILURE]: false == true] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: false == true at TestContext.<anonymous> (/home/runner/work/ai-warp/ai-warp/tests/unit/generator.test.ts:68:12) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
generates platformatic.json correctly: tests/unit/generator.test.ts#L89
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal: + actual - expected { openai: { + apiKey: '{PLT_AI_API_KEY}', - apiKey: '{PLT_OPENAI_API_KEY}', model: 'gpt-3.5-turbo' } }] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { openai: { + apiKey: '{PLT_AI_API_KEY}', - apiKey: '{PLT_OPENAI_API_KEY}', model: 'gpt-3.5-turbo' } } at TestContext.<anonymous> (/home/runner/work/ai-warp/ai-warp/tests/unit/generator.test.ts:89:12) at async Test.run (node:internal/test_runner/test:640:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: { openai: [Object] }, expected: { openai: [Object] }, operator: 'deepStrictEqual' } }
Unit Tests
Process completed with exit code 1.
E2E Tests
Total Tests: 19 Suites 📂: 4 Passed ✅: 19 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7977.056ms
Unit Tests
Total Tests: 16 Suites 📂: 6 Passed ✅: 14 Failed ❌: 2 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 25774.217ms