-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into publish-gh-pages
- Loading branch information
Showing
28 changed files
with
582 additions
and
2,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Pytest without linking BLAS and LAPACK in C | ||
|
||
on: | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
strategy: | ||
matrix: | ||
python-version: ["3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
# Use conda-incubator/setup-miniconda for precise control of conda infrastructure | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniforge-version: latest | ||
- name: Install dependent packages | ||
run: | | ||
conda activate test | ||
conda install --yes python=${{ matrix.python-version }} | ||
conda install --yes matplotlib-base pyyaml h5py scipy pytest spglib cmake c-compiler cxx-compiler | ||
- name: Install phonopy develop branch | ||
run: | | ||
conda activate test | ||
git clone https://github.com/phonopy/phonopy.git | ||
cd phonopy | ||
pip install -e . -vvv | ||
cd .. | ||
- name: Install phono3py | ||
run: | | ||
conda activate test | ||
BUILD_WITHOUT_LAPACKE=ON pip install -e . -vvv | ||
- name: Run pytest | ||
run: | | ||
conda activate test | ||
pytest -v test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.