Skip to content

Commit 84b552a

Browse files
committed
Add C++ unit tests run after build in CI
1 parent 042c867 commit 84b552a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/multiplatform_build.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,14 @@ jobs:
107107
with:
108108
name: build-${{ github.sha }}-${{ matrix.os }}-${{ matrix.python-version }}
109109
path: ./dist/*
110+
111+
- if: startsWith(matrix.os, 'ubuntu')
112+
name: Add virtual environment binaries to PATH
113+
run: echo echo "$(poetry env info --path)/bin" >> "$GITHUB_PATH
114+
115+
- if: startsWith(matrix.os, 'windows')
116+
name: Add virtual environment binaries to PATH
117+
run: echo echo "$(poetry env info --path)/Scripts" >> "$GITHUB_PATH
118+
119+
- name: Run unit tests
120+
run: poetry run poe ctest

0 commit comments

Comments
 (0)