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

Cancel previous tests when pushing to PRs #8382

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Mar 5, 2023

Type of Changes

Type
βœ“ πŸ”¨ Refactoring

Description

Closes #8285

Extends our existing concurrency infrastructure that cancels some in-progress jobs when a PR is updated to cancel also the tests workflow and the codeql-analysis workflow.

Does not affect pushes to main.

Demo

Example cancelled run
demo

@jacobtylerwalls jacobtylerwalls added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news πŸ”‡ This change does not require a changelog entry labels Mar 5, 2023
@codecov
Copy link

codecov bot commented Mar 5, 2023

Codecov Report

Merging #8382 (fa5be74) into main (6846a13) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8382   +/-   ##
=======================================
  Coverage   95.56%   95.56%           
=======================================
  Files         178      178           
  Lines       18765    18765           
=======================================
  Hits        17932    17932           
  Misses        833      833           

@DanielNoord
Copy link
Collaborator

I quite like getting the test results for old commits when I break something in a newer commit, but I think that is quite a nice use case.

Rest, LGTN

@jacobtylerwalls
Copy link
Member Author

Good point, but I do think it's more likely if you're pushing that quickly that you're amending things.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

πŸ‘Œ

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2023

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit fa5be74

@jacobtylerwalls jacobtylerwalls merged commit 47cb11f into pylint-dev:main Mar 5, 2023
@jacobtylerwalls jacobtylerwalls deleted the failfast-tests branch March 5, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news πŸ”‡ This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail fast when there is a new commit for the pull request
3 participants