File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,14 @@ jobs:
108108 env :
109109 CXXFLAGS : " -std=c++17"
110110 run : |
111- meson setup build --prefix=$PWD/install --wipe
111+ PREFIX=$(python -c "import sysconfig; print(sysconfig.get_paths()['purelib'])")
112+ meson setup build --prefix=$PREFIX --wipe
112113 meson compile -C build
113114 meson install -C build
114115
115116 - name : Run tests
116117 run : |
117- export PYTHONPATH=$PWD/install/lib/python${{ matrix.python-version }}/site-packages:$PWD:$PYTHONPATH
118- pytest --import-mode=importlib
118+ python -m pytest --import-mode=importlib pydatastructs
119119
120120 - name : Build Documentation
121121 run : |
@@ -156,14 +156,14 @@ jobs:
156156 MACOSX_DEPLOYMENT_TARGET : 11.0
157157 CXXFLAGS : " -std=c++17"
158158 run : |
159- meson setup build --prefix=$PWD/install --wipe
159+ PREFIX=$(python -c "import sysconfig; print(sysconfig.get_paths()['purelib'])")
160+ meson setup build --prefix=$PREFIX --wipe
160161 meson compile -C build
161162 meson install -C build
162163
163164 - name : Run tests
164165 run : |
165- export PYTHONPATH=$PWD/install/lib/python${{ matrix.python-version }}/site-packages:$PWD:$PYTHONPATH
166- pytest --import-mode=importlib
166+ python -m pytest --import-mode=importlib pydatastructs
167167
168168 - name : Build Documentation
169169 run : |
You can’t perform that action at this time.
0 commit comments