Skip to content

Commit

Permalink
ci: Add shorter names to CI jobs (#2066)
Browse files Browse the repository at this point in the history
By default GitHub lists all arguments in brackets after job name.
This gets unwieldy when we include runner labels in
#2037. For example, Linux job is now
"build-and-test (self-hosted, Linux, X64, stable)".
Shorten it to "build-and-test (linux)" instead.
Also, remove rust_channel as it wasn't used.
  • Loading branch information
YorikSar authored Oct 9, 2024
1 parent 98d7abe commit c6a8ecd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ jobs:

strategy:
matrix:
os:
- [self-hosted, Linux, X64]
- [self-hosted, macOS, ARM64]
rust_channel:
- stable
include:
- os: [self-hosted, Linux, X64]
name: linux
- os: [self-hosted, macOS, ARM64]
name: macos
continue-on-error: true

name: build-and-test (${{ matrix.name }})
runs-on: ${{ matrix.os }}
# The `== true` makes it work wether continue-on-error has been defined or not.
continue-on-error: ${{ matrix.continue-on-error == true }}
Expand Down Expand Up @@ -65,7 +64,7 @@ jobs:
run: nix shell --inputs-from . .#nickel-lang-cli nixpkgs#findutils --command find core/benches -type f -name "*.ncl" -exec nickel typecheck '{}' \;

build-and-test-windows:
name: "build-and-test (windows-latest, stable)"
name: "build-and-test (windows-latest)"
runs-on: windows-latest
continue-on-error: true
steps:
Expand Down

0 comments on commit c6a8ecd

Please sign in to comment.