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: clean up test workflow #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonkoops
Copy link
Contributor

What kind of change does this PR introduce?

  • Bug Fix
  • Feature
  • Refactoring
  • Style
  • Build
  • Chore
  • Documentation
  • CI

Did you add tests for your changes?

  • Yes, my code is well tested
  • Not relevant

If relevant, did you update the documentation?

  • Yes, I've updated the documentation
  • Not relevant

Summary
Cleans up the test workflow to use all the latest versions of various actions.

Does this PR introduce a breaking change?
No.

Other information
None.

@coveralls
Copy link

coveralls commented Oct 13, 2024

Pull Request Test Coverage Report for Build 11391922952

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7e3cef5c04289d0977f9d658f3ce71fec9b63616: 0.0%
Covered Lines: 89
Relevant Lines: 89

💛 - Coveralls

@jonkoops jonkoops mentioned this pull request Oct 13, 2024
12 tasks
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
@@ -5,41 +5,47 @@ on:
- master
- "[0-9]+.[0-9]+.x"
pull_request:
types: [opened, synchronize]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why remove this? We don't want to run tests for every single branch unless it's beta/master/maintenance and for PRs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default types are opened, synchronize and reopened, so falling back to the default here will result in pretty much exactly the desired behaviour.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I just find it odd to leave the pull_request key without any props 😆 In the spirit of being explicit as you were with the other changes, I'd prefer to keep this one as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's pretty common to do this in GitHub Actions, for example many of the examples in the documentation only specify a trigger without a type. But if you feel strongly about it I will change it.

.github/workflows/test.yml Show resolved Hide resolved
@jonkoops
Copy link
Contributor Author

@rolandjitsu would you like me to make any further changes, or can we get this merged?

@@ -5,41 +5,47 @@ on:
- master
- "[0-9]+.[0-9]+.x"
pull_request:
types: [opened, synchronize]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I just find it odd to leave the pull_request key without any props 😆 In the spirit of being explicit as you were with the other changes, I'd prefer to keep this one as well.

@jonkoops
Copy link
Contributor Author

@rolandjitsu added the suggested changes, let me know what you think.

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.

3 participants