From d65b191a78740295698db843b6c5b80a87d7a339 Mon Sep 17 00:00:00 2001 From: Atsushi Togo Date: Sat, 23 Nov 2024 20:51:00 +0900 Subject: [PATCH] Fix test for lapacke --- .github/workflows/phono3py-pytest-conda-nolapacke.yml | 2 +- test/phonon3/test_fc3.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phono3py-pytest-conda-nolapacke.yml b/.github/workflows/phono3py-pytest-conda-nolapacke.yml index 2ea0756f..46d6a920 100644 --- a/.github/workflows/phono3py-pytest-conda-nolapacke.yml +++ b/.github/workflows/phono3py-pytest-conda-nolapacke.yml @@ -24,7 +24,7 @@ jobs: run: | conda activate test conda install --yes python=${{ matrix.python-version }} - conda install --yes matplotlib-base pyyaml h5py scipy pytest spglib alm cmake c-compiler cxx-compiler pypolymlp + conda install --yes matplotlib-base pyyaml h5py scipy pytest spglib cmake c-compiler cxx-compiler pypolymlp - name: Install symfc develop branch run: | conda activate test diff --git a/test/phonon3/test_fc3.py b/test/phonon3/test_fc3.py index 6d831282..bfe9e675 100644 --- a/test/phonon3/test_fc3.py +++ b/test/phonon3/test_fc3.py @@ -261,7 +261,7 @@ def test_phonon_smat_alm_cutoff_fc3(si_pbesol_111_222_alm_cutoff_fc3: Phono3py): @pytest.mark.skipif( not phono3c.include_lapacke(), reason="requires to complile with lapacke" ) -def test_fc3_lapacke_solver(si_pbesol_111: Phono3py, pinv_solver: str): +def test_fc3_lapacke_solver(si_pbesol_111: Phono3py): """Test fc3 with Si PBEsol 1x1x1 using lapacke solver.""" for pinv_solver in ["lapacke", "numpy"]: ph = si_pbesol_111