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

[Bug]: An error occurs in the coverage GitHub Actions during the download-artifact step #78

Closed
snuffkin opened this issue Jan 28, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@snuffkin
Copy link
Collaborator

Describe the bug

An error occurs in the coverage GitHub Actions during the download-artifact step.

To Reproduce

In python-ci.yaml, the test job runs make test-xxx targeting common, user, and provider, and uploads the .coverage file using upload-artifact.
In the coverage job, the following error occurs at the download-artifact step:

Run actions/download-artifact@v4
Downloading single artifact
Error: Unable to download artifact(s): Artifact not found for name: .coverage-common
        Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
        For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md

When running make test-xxx within the test job, .coverage is renamed to .coverage-xxx before uploading. However, this step may not be working as expected.

One of the Actions where the error occurred:
https://github.com/oqtopus-team/oqtopus-cloud/actions/runs/13002889819/job/36264753004

Expected behavior

No response

Screenshots

No response

Environment

None

Additional context

No response

@snuffkin snuffkin added the bug Something isn't working label Jan 28, 2025
@dvlpwork dvlpwork self-assigned this Jan 28, 2025
@dvlpwork
Copy link
Collaborator

dvlpwork commented Jan 28, 2025

(readonly)
Maybe PR #66 causes.

I will change the artifact references from ./ to ./backend/.

@dvlpwork
Copy link
Collaborator

Issue with not finding .coverage-common: Explicitly set the include-hidden-files option to true.
Issue with not finding pyproject.toml: Add a checkout step for the repository.

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