Skip to content

Commit c21387c

Browse files
authored
Merge pull request #458 from python-openapi/feature/workflow-naming
Workflows naming normalization
2 parents 8fe47e9 + a78c4a9 commit c21387c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
name: Build documentation
1+
name: CI / Docs
22

33
on:
44
push:
55
pull_request:
66
types: [opened, synchronize]
77

88
jobs:
9-
build:
9+
docs_build:
10+
name: "Build"
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: Publish python packages
4+
name: CI / Publish
55

66
on:
77
workflow_dispatch:
@@ -10,7 +10,8 @@ on:
1010
- published
1111

1212
jobs:
13-
publish:
13+
publish_pypi:
14+
name: "PyPI"
1415
runs-on: ubuntu-latest
1516
permissions:
1617
id-token: write
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Test python code
4+
name: CI / Tests
55

66
on:
77
push:
88
pull_request:
99
types: [opened, synchronize]
1010

1111
jobs:
12-
test:
13-
name: "Tests"
12+
tests:
13+
name: "py${{ matrix.python-version }}-${{ matrix.os }}"
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:

0 commit comments

Comments
 (0)