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

CI: use better job names on GitHub Actions #4388

Open
fingolfin opened this issue Apr 11, 2021 · 0 comments
Open

CI: use better job names on GitHub Actions #4388

fingolfin opened this issue Apr 11, 2021 · 0 comments
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: ci Anything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ... topic: infrastructure

Comments

@fingolfin
Copy link
Member

fingolfin commented Apr 11, 2021

From discussion in PR #4378 with @wilfwilson:

Currently the names of the GitHub Action jobs are semi-automatically generated and maybe not very nice / readable. They are also prone to change when their configuration changes even slightly, which is annoying because then one also has to adjust the branch protection rules...

This can be resolved by assigning a fixed name to each task manually; the current "automatic names" were simply the quickest way to get going, but they are a bit unwieldy anyway. So, we can just define a name or NAME or JOB_NAME or whatever for each job, which either gets a full custom string, or a partially custom one. I.e., we could then replace

name: ${{ matrix.test-suites }} - ${{ matrix.extra }} - ${{ matrix.os }}

by something like

name: ${{ matrix.os }} - ${{ matrix.name }}
@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: infrastructure topic: ci Anything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ... labels Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: ci Anything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ... topic: infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant