Skip to content

parallel pull requests fail #7

@casperdcl

Description

@casperdcl

using

  test:
    ...
    - uses: AndreMiras/coveralls-python-action@develop
      with:
        parallel: true
  finish:
    ...
    - uses: AndreMiras/coveralls-python-action@develop
      with:
        parallel-finished: true

works for push (e.g. https://github.com/casperdcl/git-fame/pull/48/checks?check_run_id=1403032487)

but exactly the same code fails for pull_request (e.g. https://github.com/casperdcl/git-fame/pull/48/checks?check_run_id=1403032586):

{'error': 'No build matching CI build number 6e40a87c6b739928b6727d3bb8724ebdff450e79-PR-48 found'}

so this must be wrong, but I'm not sure where the correct API/build_number would be documented:

pull_request_number = get_pull_request_number(github_ref)
build_number = f"{github_sha}-PR-{pull_request_number}"

CC @exoplanet-dev from #5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions