From e7c60738a87396ff3c58fe5122953f7f33cb4199 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Mon, 13 Nov 2023 15:47:46 +0100 Subject: [PATCH] Simplify CI names Make the CI report more navigable Signed-off-by: Cristian Le --- .github/workflows/ci.yaml | 1 + .github/workflows/step_build-wheel.yaml | 8 ++++---- .github/workflows/step_test.yaml | 11 ++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35cbc3b9..371842d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,6 +56,7 @@ jobs: uses: ./.github/workflows/step_test-docs.yaml pass: + name: 🟢 Check CI needs: [ pre-commit, tests, test-docs, build-wheel ] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/step_build-wheel.yaml b/.github/workflows/step_build-wheel.yaml index 31629426..88ecea8d 100644 --- a/.github/workflows/step_build-wheel.yaml +++ b/.github/workflows/step_build-wheel.yaml @@ -1,5 +1,5 @@ -name: pypi-wheel -run-name: Spglib PyPI Wheel builds for linux +name: build-wheel +run-name: Build python wheels permissions: contents: read @@ -30,7 +30,7 @@ on: jobs: build_wheels: - name: Build wheels on ${{ matrix.os }} + name: 🐍 wheels ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -58,7 +58,7 @@ jobs: if: ${{ inputs.upload }} build_sdist: - name: Build source distribution + name: 🐍 sdist runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/step_test.yaml b/.github/workflows/step_test.yaml index da4beeb9..afa97962 100644 --- a/.github/workflows/step_test.yaml +++ b/.github/workflows/step_test.yaml @@ -10,7 +10,7 @@ permissions: jobs: tests: - name: Check ${{ matrix.toolchain }} and Python ${{ matrix.python-version }} + name: 🛠️ ${{ matrix.toolchain }} + 🐍 ${{ matrix.python-version }} runs-on: ${{ matrix.os || 'ubuntu-latest' }} container: ${{ !matrix.os && 'ghcr.io/lecrisut/dev-env:main' || '' }} continue-on-error: ${{ matrix.experimental || false }} @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: toolchain: [ gcc, llvm, intel, windows, macos ] - python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] include: - os: windows-2019 toolchain: windows @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v4 - name: Patch /etc/lsb-release for experimental python # Mimic Ubuntu in order to be able to download experimental python - run : | + run: | echo -en 'DISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=22.04\nDISTRIB_CODENAME=jammy\nDISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"' >> /etc/lsb-release if: ${{ !matrix.os && matrix.experimental }} - name: Setup python ${{ matrix.python-version }} @@ -67,7 +67,7 @@ jobs: workflowPreset: "${{ matrix.toolchain }}-ci" coverage: - name: Check ${{ matrix.coverage_api }} API test coverage + name: Coverage ${{ matrix.coverage_api }} runs-on: ubuntu-latest needs: [ tests ] strategy: @@ -95,7 +95,7 @@ jobs: verbose: true coverage-pytest: - name: Run python tests with coverage + name: Coverage python runs-on: ubuntu-latest needs: [ tests ] steps: @@ -128,6 +128,7 @@ jobs: flags: python_api verbose: true pass: + name: 🟢 Check tests needs: [ tests, coverage, coverage-pytest ] runs-on: ubuntu-latest steps: