File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,37 @@ jobs:
184184 which node
185185 node -v
186186 node src/lpython/tests/test_lpython.js
187+
188+ test_pip_pkgs :
189+ name : Test PIP Installable Packages
190+ runs-on : ubuntu-latest
191+ steps :
192+ - uses : actions/checkout@v3
193+ with :
194+ fetch-depth : 0
195+
196+ - uses : mamba-org/provision-with-micromamba@v15
197+ with :
198+ environment-file : environment_linux.yml
199+
200+ - uses : hendrikmuhs/ccache-action@main
201+ with :
202+ variant : sccache
203+ key : ${{ github.job }}-${{ matrix.os }}
204+
205+ - name : Build Linux
206+ shell : bash -l {0}
207+ run : |
208+ ./build0.sh
209+ ./build1.sh
210+
211+ - name : Test PIP Pacakges with Python
212+ shell : bash -l {0}
213+ run : |
214+ python integration_tests/test_pip_import_01.py
215+
216+ - name : Test PIP Pacakges with LPython
217+ shell : bash -l {0}
218+ run : |
219+ pip_pkg_path=$(python -c "import site; print(site.getsitepackages()[0])")
220+ ./src/bin/lpython integration_tests/test_pip_import_01.py -I $pip_pkg_path
You can’t perform that action at this time.
0 commit comments