Skip to content

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

Description

@terrymun

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

- name: Add coverage comment
        uses: ScaCap/code-coverage-assistant@v1.1
        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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions