Skip to content

Commit

Permalink
add arch emojis πŸŒ€πŸ’ͺ✳️ (#18864)
Browse files Browse the repository at this point in the history
* add arch emojis πŸŒ€πŸ’ͺ✳️

* fixup
  • Loading branch information
altendky authored Nov 13, 2024
1 parent c8707a1 commit c6ad3b4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-install-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:

jobs:
test_scripts:
name: Native ${{ matrix.os.emoji }} ${{ matrix.arch.name }} ${{ matrix.development.name }} - ${{ matrix.editable.name }}
name: Native ${{ matrix.os.emoji }} ${{ matrix.arch.emoji }} ${{ matrix.development.name }} - ${{ matrix.editable.name }}
runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}
strategy:
fail-fast: false
Expand All @@ -49,8 +49,10 @@ jobs:
matrix: windows
arch:
- name: ARM
emoji: πŸ’ͺ
matrix: arm
- name: Intel
emoji: πŸŒ€
matrix: intel
development:
- name: Non-dev
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: test
on:
workflow_call:
inputs:
emoji:
os-emoji:
required: true
type: string
matrix:
Expand All @@ -35,6 +35,9 @@ on:
arch:
required: true
type: string
arch-emoji:
required: true
type: string
collect-junit:
required: false
type: boolean
Expand All @@ -50,21 +53,22 @@ defaults:

jobs:
test:
name: ${{ matrix.os.emoji }} ${{ matrix.configuration.name }} - ${{ matrix.python.name }}
name: ${{ matrix.os.emoji }} ${{ matrix.arch.emoji }} ${{ matrix.configuration.name }} - ${{ matrix.python.name }}
runs-on: ${{ matrix.os.runs-on }}
timeout-minutes: ${{ matrix.configuration.job_timeout }}
strategy:
fail-fast: false
matrix:
configuration: ${{ fromJson(inputs.configuration) }}
os:
- emoji: ${{ inputs.emoji }}
- emoji: ${{ inputs.os_emoji }}
matrix: ${{ inputs.matrix }}
name: ${{ inputs.name }}
file_name: ${{ inputs.file_name }}
runs-on: ${{ inputs.runs-on }}
arch:
- matrix: ${{ inputs.arch }}
emoji: ${{ inputs.arch-emoji }}
python:
- name: "3.9"
file_name: "3.9"
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
uses: ./.github/workflows/test-single.yml
needs: configure
with:
emoji: 🍎
os-emoji: 🍎
matrix: macos-intel
name: macOS Intel
file_name: macos
Expand All @@ -122,12 +122,13 @@ jobs:
matrix_mode: ${{ needs.configure.outputs.matrix_mode }}
runs-on: macos-13
arch: intel
arch-emoji: πŸŒ€
macos-arm:
if: github.event_name != 'workflow_dispatch' || inputs.run-macos-arm
uses: ./.github/workflows/test-single.yml
needs: configure
with:
emoji: 🍎
os-emoji: 🍎
matrix: macos
name: macOS ARM
file_name: macos-arm
Expand All @@ -136,13 +137,14 @@ jobs:
matrix_mode: ${{ needs.configure.outputs.matrix_mode }}
runs-on: macos-14
arch: arm
arch-emoji: πŸ’ͺ
collect-junit: false
ubuntu:
if: github.event_name != 'workflow_dispatch' || inputs.run-linux
uses: ./.github/workflows/test-single.yml
needs: configure
with:
emoji: 🐧
os-emoji: 🐧
matrix: ubuntu
name: Ubuntu
file_name: ubuntu
Expand All @@ -151,13 +153,14 @@ jobs:
matrix_mode: ${{ needs.configure.outputs.matrix_mode }}
runs-on: ubuntu-latest
arch: intel
arch-emoji: πŸŒ€
collect-junit: false
windows:
if: github.event_name != 'workflow_dispatch' || inputs.run-windows
uses: ./.github/workflows/test-single.yml
needs: configure
with:
emoji: πŸͺŸ
os-emoji: πŸͺŸ
matrix: windows
name: Windows
file_name: windows
Expand All @@ -166,6 +169,7 @@ jobs:
matrix_mode: ${{ needs.configure.outputs.matrix_mode }}
runs-on: windows-latest
arch: intel
arch-emoji: πŸŒ€
collect-junit: false

coverage:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upload-pypi-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permissions:

jobs:
mypy:
name: ${{ matrix.os.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}
name: ${{ matrix.os.emoji }} ${{ matrix.arch.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.python.major_dot_minor }}
runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}
timeout-minutes: 20
strategy:
Expand All @@ -52,8 +52,10 @@ jobs:
intel: windows-latest
arch:
- name: ARM64
emoji: πŸ’ͺ
matrix: arm
- name: Intel
emoji: πŸŒ€
matrix: intel
python:
- major_dot_minor: "3.9"
Expand Down

0 comments on commit c6ad3b4

Please sign in to comment.