pages build and deployment #111
GitHub Actions / Tests report
failed
Jan 11, 2025 in 1s
42 passed, 1 failed and 0 skipped
βΒ reports/jest-junit.xml
43 tests were completed in 62s with 42 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/adapters/createRequestHeaders.test.ts | 3β | 139ms | ||
src/client.test.ts | 1β | 182ms | ||
src/clientConfiguration.test.ts | 2β | 112ms | ||
src/features/buildInformation/buildInformationRepository.test.ts | 4β | 5s | ||
src/features/capabilities/capability.test.ts | 4β | 711ms | ||
src/features/packages/pack/nugetPackageBuilder.test.ts | 5β | 278ms | ||
src/features/packages/pack/zipPackageBuilder.test.ts | 6β | 6s | ||
src/features/packages/packageRepository.test.ts | 6β | 16s | ||
src/features/projects/releases/deployments/deploymentRepository.test.ts | 2β | 1β | 35s | |
src/features/projects/releases/releaseRepository.test.ts | 4β | 18s | ||
src/features/serverTasks/serverTaskWaiter.test.ts | 5β | 61s |
β Β src/adapters/createRequestHeaders.test.ts
createRequestHeaders
β
when api key is provided it is put into the correct request header
β
when an access token is provided it is put into the correct request header
β
when neither an access token or api key is provided then the correct api key header is filled in for backward compatibility
β Β src/client.test.ts
client
β
throws with invalid configuration
β Β src/clientConfiguration.test.ts
configuration
β
undefined
β
blank
β Β src/features/buildInformation/buildInformationRepository.test.ts
configuration
β
undefined
β
blank
push build information
β
to single package
β
to a package failed
β Β src/features/capabilities/capability.test.ts
configuration
β
undefined
β
blank
Check capabilities
β
Returns no error for something we know exists
β
Returns false for something we know does not exist
β Β src/features/packages/pack/nugetPackageBuilder.test.ts
Can create a NuGet packages
β
Can create with a single specific file
β
Can create with wildcarded files
β
Can create with wildcarded files and a nuspec
β
Can create with a package in a relative folder
β
Can create with unexpected characters
β Β src/features/packages/pack/zipPackageBuilder.test.ts
Can create a Zip packages
β
Can create with a single specific file
β
Can create with wildcarded files
β
Can create with multiples and wildcarded directories
β
Can create with '.' as the basePath
β
Can create zip file with dot-files included
β
Re-creating a zip with overwrite set to false does not replace the existing archive
β Β src/features/packages/packageRepository.test.ts
configuration
β
undefined
β
blank
push package
β
single package
β
multiple packages
β
failed package
β
very large package
βΒ src/features/projects/releases/deployments/deploymentRepository.test.ts
configuration
β
undefined
β
blank
deploy a release
β deploy to single environment
Error: There was a problem with your request.
β Β src/features/projects/releases/releaseRepository.test.ts
configuration
β
undefined
β
blank
create a release
β
can create a release
create a release βΊ create with packages
β
using packages
β Β src/features/serverTasks/serverTaskWaiter.test.ts
configuration
β
undefined
β
blank
wait for server task βΊ non-existent task
β
wait exits correctly
wait for server task βΊ existing task
β
deploy with default timeout exits correctly
β
deploy with short timeout exits correctly
Annotations
Check failure on line 25 in src/octopusError.ts
github-actions / Tests report
src/features/projects/releases/deployments/deploymentRepository.test.ts βΊ deploy a release βΊ deploy to single environment
Failed test found in:
reports/jest-junit.xml
Error:
Error: There was a problem with your request.
Raw output
Error: There was a problem with your request.
Cannot delete a space which contains running tasks. Wait for the tasks to complete or cancel them.
at new OctopusError (/home/runner/work/api-client.ts/api-client.ts/src/octopusError.ts:25:9)
at generateOctopusError (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:79:16)
at ApiClient.handleError (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:60:21)
at ApiClient.<anonymous> (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:24:22)
at step (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:33:23)
at Object.throw (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:14:53)
at rejected (/home/runner/work/api-client.ts/api-client.ts/src/apiClient.ts:6:65)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading