Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: e is not iterable" when running action #48

Open
terrymun opened this issue Mar 4, 2023 · 1 comment
Open

"TypeError: e is not iterable" when running action #48

terrymun opened this issue Mar 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@terrymun
Copy link

terrymun commented Mar 4, 2023

When attempting to run the GitHub action with the barebones config for a monorepo:

- name: Add coverage comment
        uses: ScaCap/[email protected]
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          monorepo-base-path: './packages'

I get the following error:

TypeError: e is not iterable

I suspect it is because the action is unable to locate the appropriate lcov.info? All coverage files are actually not created in <ROOT>/packages, but into <ROOT>/coverage/packages. Changing the monorepo-base-path to ./coverage/packages throws a different error:

Failed to parse string
@eeshdarthvader
Copy link

Hi @terrymun , can you share the monorepo structure here ? Usually the lcov.info file are generated under /packages/<package_name>/coverage/lcov.info.

@eeshdarthvader eeshdarthvader self-assigned this Apr 24, 2023
@eeshdarthvader eeshdarthvader added the bug Something isn't working label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants