Skip to content

Commit 30ac576

Browse files
authored
Fix install struphy test (#14)
* Use the same versions of numpy ans scipy as in psydac devel (#4) * Removed the <3.12 requirement for python (#6) * Removed the <3.12 requirement for python * Run the pytests on python 3.10, 3.11, and 3.12 * Replaced the branch from struphy-with-psydac-devel to devel when cloning struphy * Moved psydac_accelerate.py to psydac/accelerate/accelerate.py and added the command psydac-accelerate to pyproject.toml so that we can compile the kernels with 'psydac-accelerate --language c' (#7) * Improved psydac-accelerate by also cleaning up the old files (#8) * Improved psydac-accelerate by also cleaning up the old files and improving the logging. * Only pyccelize files that are not already pyccelized. If any files are pyccelized with the other language then cleanup all pyccelized files before pyccelizing again. * Update PETSc version from 3.21.4 to 3.22.2 * Added --download-fblaslapack=1 to automatically download and install BLAS * don't pyccelize when run with --cleanup * Replaced logging with print * Correct root path for psydac-accelerate (#9) * Improved psydac-accelerate by also cleaning up the old files and improving the logging. * Only pyccelize files that are not already pyccelized. If any files are pyccelized with the other language then cleanup all pyccelized files before pyccelizing again. * Update PETSc version from 3.21.4 to 3.22.2 * Added --download-fblaslapack=1 to automatically download and install BLAS * don't pyccelize when run with --cleanup * Replaced logging with print * Corrected the root path in psydac accelerate * Remove so files (#10) * Remove all .so files with psydac-accelerate --cleanup * Do not compile psydac on install * Added --libdir libdir where libdir = sysconfig.get_config_var('LIBDIR') to the pyccel command. This should solve the LD_LIBRARY_PATH error. (#11) * Install struphy with python -m pip install .[test] --no-cache-dir, otherwise the pytests can not be done * Also run tests on push to main
1 parent ee1f161 commit 30ac576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Run tests
55

66
on:
77
push:
8-
branches: [ devel ]
8+
branches: [ devel, main ]
99
pull_request:
1010
branches: [ devel, main ]
1111

@@ -218,7 +218,7 @@ jobs:
218218
working-directory: ${{ env.STRUPHY_DIR }}
219219
run: |
220220
pip uninstall psydac -y
221-
python -m pip install . --no-cache-dir
221+
python -m pip install .[test] --no-cache-dir
222222
pip show psydac
223223
224224
- name: Re-install Psydac from the current branch

0 commit comments

Comments
 (0)