You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All tests in the cli test suite run fine on my laptop, but fail with an EACCESS error code when launched from a GitHub workflow.
Here is the output of one of the failing tests:
# Subtest: cli# Subtest: returns a help message when called with --help
not ok 1 - returns a help message when called with --help
---
duration_ms: 3.451251
location: 'file:///home/runner/work/zod-to-doc/zod-to-doc/test/cli.mjs:16:3'
failureType: 'testCodeFailure'
error: 'spawnSync /home/runner/work/zod-to-doc/zod-to-doc/dist/cli.js EACCES'
code: 'EACCES'
stack: |-
Object.spawnSync (node:internal/child_process:1124:20)
spawnSync (node:child_process:876:24)
execFileSync (node:child_process:[9](https://github.com/jackdbd/zod-to-doc/actions/runs/7799191221/job/21269451348#step:8:10)19:[15](https://github.com/jackdbd/zod-to-doc/actions/runs/7799191221/job/21269451348#step:8:16))
TestContext.<anonymous> (file:///home/runner/work/zod-to-doc/zod-to-doc/test/cli.mjs:20:[17](https://github.com/jackdbd/zod-to-doc/actions/runs/7799191221/job/21269451348#step:8:18))
Test.runInAsyncScope (node:async_hooks:[20](https://github.com/jackdbd/zod-to-doc/actions/runs/7799191221/job/21269451348#step:8:21)6:9)
Test.run (node:internal/test_runner/test:631:25)
Test.start (node:internal/test_runner/test:542:17)
node:internal/test_runner/test:946:71
node:internal/per_context/primordials:487:82
new Promise (<anonymous>)
I think this issue is related to the GitHub-hosted runner used in the GitHub Workflow. See here for details:
All tests in the
cli
test suite run fine on my laptop, but fail with anEACCESS
error code when launched from a GitHub workflow.Here is the output of one of the failing tests:
I think this issue is related to the GitHub-hosted runner used in the GitHub Workflow. See here for details:
Error: EACCES: permission denied, mkdir
aws/aws-cdk#15179 (comment)The text was updated successfully, but these errors were encountered: