4444 # with:
4545 # token: ${{ secrets.GITHUB_TOKEN }}
4646
47- smoke-tests :
47+ smoketest :
4848 name : Build and smoke tests
4949 runs-on : ${{ matrix.os }}
5050 needs : [ style ]
@@ -54,16 +54,22 @@ jobs:
5454 os : [ ubuntu-latest, windows-latest ]
5555 python-version : [ '3.10', '3.11', '3.12', '3.13' ]
5656 steps :
57- - name : Build wheelhouse and perform smoke test
57+ - name : Build wheelhouse
5858 uses : ansys/actions/build-wheelhouse@v8
5959 with :
6060 library-name : ${{ env.PACKAGE_NAME }}
6161 operating-system : ${{ matrix.os }}
6262 python-version : ${{ matrix.python-version }}
6363
64+ - name : Install library
65+ run : python --version && python -m pip install ${{ env.install_target }}
66+
67+ - name : Run smoketest
68+ run : make smoketest
69+
6470 test :
6571 name : Testing
66- needs : [ smoke-tests ]
72+ needs : [ smoketest ]
6773 runs-on : ${{ matrix.os }}
6874 strategy :
6975 matrix :
@@ -109,7 +115,7 @@ jobs:
109115 docs :
110116 name : Build docs
111117 runs-on : ubuntu-latest
112- # needs: [docs-style]
118+ # needs: [docs-style]
113119 steps :
114120 - name : Run Ansys documentation building action
115121 uses : ansys/actions/doc-build@v8
@@ -120,7 +126,7 @@ jobs:
120126
121127 package :
122128 name : Package library
123- needs : [ test, docs ]
129+ needs : [ test ]
124130 runs-on : ubuntu-latest
125131 steps :
126132 - name : Build library source and wheel artifacts
@@ -152,7 +158,7 @@ jobs:
152158 name : Upload dev documentation
153159 if : github.ref == 'refs/heads/main'
154160 runs-on : ubuntu-latest
155- needs : [ package ]
161+ needs : [ docs, package ]
156162 steps :
157163 - name : Deploy the latest documentation
158164 uses : ansys/actions/doc-deploy-dev@v8
@@ -167,7 +173,7 @@ jobs:
167173 name : Upload release documentation
168174 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
169175 runs-on : ubuntu-latest
170- needs : [ release ]
176+ needs : [ docs, release ]
171177 steps :
172178 - name : Deploy the stable documentation
173179 uses : ansys/actions/doc-deploy-stable@v8
@@ -181,15 +187,15 @@ jobs:
181187 build-failure :
182188 name : Teams notify on failure
183189 if : failure() && (github.event_name == 'pull_request' || github.ref == 'refs/heads/main' || github.ref_type == 'tag')
184- needs : [ style, test ]
190+ needs : [ package ]
185191 runs-on : ubuntu-latest
186192 steps :
187193 - uses : actions/checkout@v4
188194 - name : Microsoft Teams Notification
189195190196 with :
191197 github-token : ${{ github.token }} # this will use the runner's token.
192- ms-teams-webhook-uri : ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
193- notification-summary : GitHub CI failure - ${{ github.event.pull_request.title }}
198+ ms-teams-webhook-uri : ${{ secrets.MS_TEAMS_WEBHOOK_URI_CI }}
199+ notification-summary : CI build failure
194200 notification-color : dc3545
195201 timezone : America/New_York
0 commit comments