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

[ENH] CI: Cancel previous workflows on the same pull request #604

Closed

Conversation

Moritz-Alexander-Kern
Copy link
Member

This pull request introduces an enhancement to our GitHub Actions workflow.

The added lines in the GitHub Actions YAML file enable the cancellation of previous workflows associated with the same pull request.

# Cancel previous workflows on the same pull request
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

With these changes, we ensure that only the latest workflow for a given pull request will be executed, enhancing efficiency. This adjustment is particularly beneficial in scenarios where multiple workflows for the same pull request may overlap.

@coveralls
Copy link
Collaborator

coveralls commented Nov 13, 2023

Coverage Status

coverage: 87.902% (-0.3%) from 88.235%
when pulling 2d72690 on INM-6:enh/github_CI
into a93bac0 on NeuralEnsemble:master.

Moritz-Alexander-Kern added 2 commits December 15, 2023 09:57
@Moritz-Alexander-Kern
Copy link
Member Author

Test: see test run #660 and #661.

Run #660 was canceled when #661 was triggered.

Copy link
Member Author

@Moritz-Alexander-Kern Moritz-Alexander-Kern left a comment

Choose a reason for hiding this comment

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

build wheels

@Moritz-Alexander-Kern
Copy link
Member Author

Unfortunately not compatible with coveralls.io. Re-open if resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants