Skip to content

Commit

Permalink
Fix python patch definition and add test print
Browse files Browse the repository at this point in the history
  • Loading branch information
etphipp authored Aug 15, 2024
1 parent 1991236 commit 85287eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@ jobs:
python-version: 3.11

- name: Install dependencies
env:
PYTHONPATH: ${{ steps.strings.outputs.build-output-dir }}/python
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pyttb
echo "$PYTHONPATH"
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand All @@ -79,7 +82,7 @@ jobs:
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
env:
PYTHONPATH=${{ steps.strings.outputs.build-output-dir }}/python
PYTHONPATH: ${{ steps.strings.outputs.build-output-dir }}/python
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }} --output-on-failure

0 comments on commit 85287eb

Please sign in to comment.