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

Set Up GitHub Actions for Test Execution on Tag Creation #6

Open
Pr47h4m opened this issue Sep 27, 2024 · 0 comments
Open

Set Up GitHub Actions for Test Execution on Tag Creation #6

Pr47h4m opened this issue Sep 27, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Pr47h4m
Copy link
Owner

Pr47h4m commented Sep 27, 2024

We need to set up a GitHub Actions workflow to automatically execute the test suite whenever a new tag is created in the repository. This ensures that the framework is properly tested before any new release or version update.

Tasks:

  1. GitHub Actions Configuration:

    • Create a new workflow file in .github/workflows/ directory, named something like test-on-tag.yml.
  2. Trigger on Tag Creation:

    • Configure the workflow to trigger on tag creation events using the on: push: tags: event.
  3. Test Execution:

    • Define steps to set up the Go environment.
    • Install dependencies (if any).
    • Run the test suite using the go test ./... command.
  4. Job Matrix (Optional):

    • Consider adding a job matrix to test on multiple Go versions to ensure compatibility across different environments.
  5. CI Integration:

    • Make sure the workflow integrates seamlessly with the existing CI pipeline and does not interfere with other workflows (if any).
  6. Notifications:

    • Optionally, set up notifications (e.g., email, Slack) for test pass/fail statuses on tag creation.

By automating test execution on tag creation, we can ensure that every release is thoroughly tested and stable before it's made available.

@Pr47h4m Pr47h4m added the good first issue Good for newcomers label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant