Skip to content

Commit c3a506d

Browse files
maint: Add smoke tests
1 parent cc13384 commit c3a506d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,27 @@ jobs:
2626
- name: "Run PyAnsys code style checks"
2727
uses: ansys/actions/code-style@v6
2828

29+
smoke-tests:
30+
name: Build and Smoke tests
31+
runs-on: ${{ matrix.os }}
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
os: [ubuntu-latest, windows-latest, macos-latest]
36+
python-version: ['3.10', '3.11', '3.12']
37+
should-release:
38+
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
39+
exclude:
40+
- should-release: false
41+
os: macos-latest
42+
steps:
43+
- name: Build wheelhouse and perform smoke test
44+
uses: ansys/actions/build-wheelhouse@v6
45+
with:
46+
library-name: ${{ env.PACKAGE_NAME }}
47+
operating-system: ${{ matrix.os }}
48+
python-version: ${{ matrix.python-version }}
49+
2950
release:
3051
name: "Release project"
3152
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)