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

chore: update the get examples matrix step to run some checks and be more readable #170

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

jaredfholgate
Copy link
Member

@jaredfholgate jaredfholgate commented Nov 13, 2024

Description

This PR converts to PowerShell for readability and runs some checks on the examples folder:

  • It checks whether any examples are present and throws an exception if not.
  • It checks whether an example contain any .tf files before adding them as tests
  • It checks for the .e2eignore and filters out those folders

Related:

Type of Change

  • Non-module change (e.g. CI/CD, documentation, etc.)
  • Azure Verified Module updates:
    • Bugfix containing backwards compatible bug fixes
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • Feature update backwards compatible feature updates.
    • Breaking changes.
    • Update to documentation

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • I did run all pre-commit checks

@jaredfholgate jaredfholgate merged commit 81601d7 into main Nov 13, 2024
10 checks passed
@jaredfholgate jaredfholgate deleted the chore-checks-for-examples branch November 13, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants