Skip to content

Commit 883b4fc

Browse files
maint: Add doc style action
1 parent 948fc3a commit 883b4fc

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
python-version: ${{ matrix.python-version }}
7676
whitelist-license-check: "termcolor" # Has MIT license, but it's not recognized
7777

78-
build-tests:
79-
name: Build and Testing
78+
tests:
79+
name: Testing
8080
runs-on: ubuntu-latest
8181
needs: [smoke-tests]
8282
env:
@@ -110,8 +110,18 @@ jobs:
110110
# with:
111111
# token: ${{ secrets.CODECOV_TOKEN }}
112112

113+
docs-style:
114+
name: Documentation Style Check
115+
runs-on: ubuntu-latest
116+
steps:
117+
- name: PyAnsys documentation style checks
118+
uses: ansys/actions/doc-style@v10
119+
with:
120+
token: ${{ secrets.GITHUB_TOKEN }}
121+
113122
doc-build:
114123
name: Build documentation
124+
needs: [docs-style]
115125
runs-on: ubuntu-latest
116126
steps:
117127
- name: Build documentation
@@ -123,7 +133,7 @@ jobs:
123133
package:
124134
name: Package library
125135
runs-on: ubuntu-latest
126-
needs: [smoke-tests]
136+
needs: [tests, doc-build]
127137
steps:
128138
- name: Build library source and wheel artifacts
129139
uses: ansys/actions/build-library@v10

0 commit comments

Comments
 (0)