Skip to content

Commit

Permalink
Simplify CI names
Browse files Browse the repository at this point in the history
Make the CI report more navigable

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
  • Loading branch information
LecrisUT committed Nov 14, 2023
1 parent 4f27640 commit e7c6073
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/step_build-wheel.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/step_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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 }}
strategy:
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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -128,6 +128,7 @@ jobs:
flags: python_api
verbose: true
pass:
name: 🟢 Check tests
needs: [ tests, coverage, coverage-pytest ]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e7c6073

Please sign in to comment.