From 62969b86abddc07d4bc6b8cf9c64eb08d98c8e8c Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 4 Nov 2021 21:25:32 +0100 Subject: [PATCH] Make names in the GHA lib workflow short (#669) Co-authored-by: Abhinav Singh --- .github/workflows/test-library.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index a1efa593..c39398e8 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -1,5 +1,5 @@ --- -name: Proxy.py Library +name: lib on: [push, pull_request] # yamllint disable-line rule:truthy @@ -15,7 +15,8 @@ concurrency: jobs: integration: runs-on: ${{ matrix.os }}-latest - name: Library - Python ${{ matrix.python }} on ${{ matrix.os }} + name: >- + e2e: 🐍${{ matrix.python }} @ ${{ matrix.os }} strategy: matrix: os: [macOS, Ubuntu] @@ -41,14 +42,23 @@ jobs: ./tests/integration/main.sh lint: - name: ${{ matrix.toxenv }} + name: >- + ${{ + toJSON(matrix.custom_job_name) + && matrix.custom_job_name + || matrix.toxenv + }} runs-on: Ubuntu-latest strategy: matrix: toxenv: - - cleanup-dists,build-dists,metadata-validation - lint + custom_job_name: + - '' + include: + - custom_job_name: build-dists + toxenv: cleanup-dists,build-dists,metadata-validation fail-fast: false env: