Skip to content

Coverage upload failed (HTTP 404) #16

Description

@asbjornu

Running actions/upload-code-coverage fails with the following error message:

Error: Coverage upload failed (HTTP 404): Not Found. To treat upload errors as warnings, add 'fail-on-error: false' to the action inputs.
Error: Process completed with exit code 1.

The action is configured as such:

- name: upload coverage report
  if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
  uses: actions/upload-code-coverage@v1
  with:
    file: coverage/coverage.xml
    language: ruby
    label: coverage

And these are the recognized parameters the action runs with:

commit_oid: 578fc6d9cad30bcc31100837764e1fc08b50ad11
ref: refs/heads/remove-codecov
pr_number: 256
language: ruby
label: coverage
file: coverage/coverage.xml (8687 bytes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions