@@ -102,21 +102,17 @@ jobs:
102102        run : | 
103103          python -m pip install -r requirements.txt 
104104          python -m pip install -r docs/requirements.txt 
105-           python -m pip install meson ninja pytest 
105+           python -m pip install meson-python meson  ninja pytest 
106106
107107name : Build package (Meson) 
108108        env :
109109          CXXFLAGS : " -std=c++17" 
110110        run : | 
111-           meson setup build --wipe 
112-           meson compile -C build 
113-           meson install -C build --destdir=$PWD/install 
111+           python -m pip install . -v --no-build-isolation 
114112
115113name : Run tests 
116114        run : | 
117-           export PYTHONPATH=$PWD/install/usr/local/lib/python${{ matrix.python-version }}/site-packages:$PYTHONPATH 
118-           cd /tmp 
119-           python -c "import pydatastructs; print(pydatastructs.__file__)" 
115+           cd $HOME 
120116          python -m pytest --pyargs pydatastructs -v 
121117
122118name : Build Documentation 
@@ -151,22 +147,18 @@ jobs:
151147        run : | 
152148          python -m pip install -r requirements.txt 
153149          python -m pip install -r docs/requirements.txt 
154-           python -m pip install meson ninja pytest 
150+           python -m pip install meson-python meson  ninja pytest 
155151
156152name : Build package (Meson) 
157153        env :
158154          MACOSX_DEPLOYMENT_TARGET : 11.0 
159155          CXXFLAGS : " -std=c++17" 
160156        run : | 
161-           meson setup build --wipe 
162-           meson compile -C build 
163-           meson install -C build --destdir=$PWD/install 
157+           python -m pip install . -v --no-build-isolation 
164158
165159name : Run tests 
166160        run : | 
167-           export PYTHONPATH=$PWD/install/usr/local/lib/python${{ matrix.python-version }}/site-packages:$PYTHONPATH 
168-           cd /tmp 
169-           python -c "import pydatastructs; print(pydatastructs.__file__)" 
161+           cd $HOME 
170162          python -m pytest --pyargs pydatastructs -v 
171163
172164name : Build Documentation 
0 commit comments