Skip to content

Commit

Permalink
Update python paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Aug 1, 2024
1 parent 591ccca commit a395f8d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/post-merge-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ jobs:
run: python3 `which scons` test-gtest test-legacy --debug=time
- name: Run Python tests
run: |
LD_LIBRARY_PATH=build/lib
python3 -m pytest -raP -v -n auto --durations=50 test/python
env:
LD_LIBRARY_PATH: build/lib
PYTHONPATH: build/python

ubuntu-docker:
name: Docker 'ubuntu:${{ matrix.image }}' image
Expand Down Expand Up @@ -110,6 +112,7 @@ jobs:
run: python3 -m pytest -raP -v -n auto --durations=50 test/python
env:
LD_LIBRARY_PATH: build/lib
PYTHONPATH: build/python

fedora-docker:
name: Docker 'fedora:${{ matrix.image }}' image
Expand Down Expand Up @@ -154,6 +157,7 @@ jobs:
run: python3 -m pytest -raP -v -n auto --durations=50 test/python
env:
LD_LIBRARY_PATH: build/lib
PYTHONPATH: build/python

ubuntu-python-prerelease:
name: ${{ matrix.os }} with Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -200,9 +204,10 @@ jobs:
- name: Run compiled tests
run: python3 `which scons` test-gtest test-legacy --debug=time
- name: Run Python tests
run: |
LD_LIBRARY_PATH=build/lib
python3 -m pytest -raP -v -n auto --durations=50 test/python
run: python3 -m pytest -raP -v -n auto --durations=50 test/python
env:
LD_LIBRARY_PATH: build/lib
PYTHONPATH: build/python

macos-homebrew:
runs-on: macos-14
Expand All @@ -217,7 +222,7 @@ jobs:
- name: Install Brew dependencies
run: |
brew install --display-times boost libomp hdf5 python scons
$(brew --prefix)/bin/python -m pip install packaging
$(brew --prefix)/bin/python3.12 -m pip install packaging
- name: Set Include folder
run: |
echo "BOOST_INC_DIR=$(brew --prefix)/include" >> $GITHUB_ENV
Expand All @@ -239,5 +244,7 @@ jobs:
run: $(brew --prefix)/bin/scons test-gtest test-legacy --debug=time
- name: Run Python tests
run: |
export DYLD_LIBRARY_PATH=build/lib
./.venv/bin/python -m pytest -raP -v -n auto --durations=50 test/python
env:
DYLD_LIBRARY_PATH: build/lib
PYTHONPATH: build/python

0 comments on commit a395f8d

Please sign in to comment.