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

Add github actions workflow for testing PRs #959

Merged
merged 3 commits into from
Dec 14, 2024

Conversation

sysadmind
Copy link
Contributor

@sysadmind sysadmind commented Nov 10, 2024

This may need some more work because it's not always easy to test actions locally. After this runs well for all PRs and releases, I will remove the circleCI workflows.

This may need some more work because it's not always easy to test actions locally.

Signed-off-by: Joe Adams <[email protected]>
@sysadmind sysadmind requested a review from SuperQ December 14, 2024 16:12
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine. I wish we could make our GH actions a little less verbose.

name: CI
on:
pull_request:
push:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only downside to this is that this doubles the CI runs for contributors. Since this matches Both the PR and the Push.

Maybe we can figure out a filter so this doesn't happen.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this from the CI job for the prometheus repo https://github.com/prometheus/prometheus/blob/main/.github/workflows/ci.yml#L5. Does that job run twice? If this runs twice here when someone opens a PR, I'm happy to filter to the master/main branches.

@sysadmind sysadmind merged commit bb63208 into prometheus-community:master Dec 14, 2024
11 checks passed
@sysadmind sysadmind deleted the github-actions branch December 14, 2024 16:59
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

Successfully merging this pull request may close these issues.

2 participants