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

CI error of "Missing test file" was reported #2339

Open
yandongxiao opened this issue Mar 29, 2024 · 1 comment
Open

CI error of "Missing test file" was reported #2339

yandongxiao opened this issue Mar 29, 2024 · 1 comment

Comments

@yandongxiao
Copy link
Contributor

yandongxiao commented Mar 29, 2024

Environment details (Operating System, Cloud provider, etc):

When checking the yaml files under assets/logs with CI, an error of "Missing test file" was reported.

Missing test file for this integration. Please create a test file with samples testing the integration pipelines. Expected test file path: assets/logs/celerdata.yml

assets/logs/celerdata.yml should be used to store log pipelines, not test files

Steps to reproduce the issue:

  1. Save the log pipeline from the Datadog page;
  2. Adjust the format of the YAML file, it seems that the saved YAML file is not a valid one.
  3. Store it under assets/logs/, and submit a PR.

see the PR #2326

Describe the results you received:

Describe the results you expected:

  1. Expect to receive accurate error information;
  2. Expect to learn how to debug the error locally, rather than relying on CI checks.

Additional information you deem important (e.g. issue happens only occasionally):

@yandongxiao yandongxiao changed the title an CI error of "Missing test file" was reported CI error of "Missing test file" was reported Mar 29, 2024
@yandongxiao
Copy link
Contributor Author

‌‌I think I've found the reason: The YAML file saved on the page has a .yml extension, but it needs to be .yaml for CI testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant