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 pre-commit workflow #228

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Add pre-commit workflow #228

merged 2 commits into from
Apr 26, 2024

Conversation

brsm3129
Copy link
Collaborator

@brsm3129 brsm3129 commented Apr 17, 2024

  • Tickets addressed: maxgnc-885
  • Review: By file
  • Merge strategy: Merge (no squash)

Description

Adds a new job to pull-request.yml that fetches all of the names of the files that have been changed then feeds those files into pre-commit. The tests that run on Windows and Linux have been set to wait for the pre-commit job to pass before starting.

Verification

These changes are verified by sending in files that need to be changed by pre-commit and expecting a stoppage of tests along with sending files that have already been checked by pre-commit and expecting a pass.

Documentation

No documentation added or invalidated.

Future work

Consider making the other tests start up as pre-commit is running and cancelling them early if pre-commit fails.

@brsm3129 brsm3129 force-pushed the feature/pre-commit-ci branch from 93e7b17 to b5d24c3 Compare April 17, 2024 19:21
@brsm3129 brsm3129 self-assigned this Apr 17, 2024
@brsm3129 brsm3129 force-pushed the feature/pre-commit-ci branch 8 times, most recently from cf8c640 to c8440fe Compare April 17, 2024 21:51
@brsm3129 brsm3129 marked this pull request as ready for review April 22, 2024 18:59
@brsm3129 brsm3129 requested a review from patkenneally April 22, 2024 19:07
@brsm3129 brsm3129 force-pushed the feature/pre-commit-ci branch 2 times, most recently from de1ca20 to 62abb69 Compare April 22, 2024 20:59
@brsm3129 brsm3129 force-pushed the feature/pre-commit-ci branch 2 times, most recently from 692561e to f866b43 Compare April 22, 2024 21:13
@patkenneally patkenneally merged commit fa1167d into develop Apr 26, 2024
3 checks passed
@patkenneally patkenneally deleted the feature/pre-commit-ci branch April 26, 2024 20:00
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