Skip to content

Commit

Permalink
Make build workflow job names more descriptive
Browse files Browse the repository at this point in the history
Add `name` keys to the `test`, `build`, and `test-build` jobs that are
both more descriptive and include the Python version from the job's
matrix. This will produce consistent and more helpful job names in the
GitHub Actions log in the GitHub web UI.
  • Loading branch information
mcdonnnj committed Feb 8, 2023
1 parent 659a9eb commit 0f3dd39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
uses: mxschmitt/action-tmate@v3
if: env.RUN_TMATE
test:
name: test source - py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -195,6 +196,7 @@ jobs:
uses: mxschmitt/action-tmate@v3
if: env.RUN_TMATE
build:
name: build wheel - py${{ matrix.python-version }}
needs:
- lint
- test
Expand Down Expand Up @@ -248,6 +250,7 @@ jobs:
uses: mxschmitt/action-tmate@v3
if: env.RUN_TMATE
test-build:
name: test built wheel - py${{ matrix.python-version }}
needs:
- build
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 0f3dd39

Please sign in to comment.