From de85257b0f6ba585c880fad2569fab3192f43273 Mon Sep 17 00:00:00 2001 From: Matteo Giantomassi Date: Sun, 21 Jul 2024 22:59:48 +0200 Subject: [PATCH] Install abinit --- .github/workflows/test.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffbf8c290..431607fa9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,20 +24,10 @@ jobs: strategy: fail-fast: false matrix: - # maximize CI coverage of different platforms and python versions while minimizing the - # total number of jobs. We run all pytest splits with the oldest supported python - # version (currently 3.9) on windows (seems most likely to surface errors) and with - # newest version (currently 3.12) on ubuntu (to get complete coverage on unix). config: - - os: windows-latest - python: "3.9" - #extras: ci, optional - os: ubuntu-latest python: '>3.9' #extras: ci, optional - - os: macos-latest - python: '3.10' - #extras: ci # test with only required dependencies installed # pytest-split automatically distributes work load so parallel jobs finish in similar time # update durations file with `pytest --store-durations --durations-path tests/files/.pytest-split-durations` @@ -59,13 +49,11 @@ jobs: run: | micromamba create -n abipy python=${{ matrix.config.python }} --yes - #- name: Install uv - # run: micromamba run -n abipy pip install uv - - #- name: Install pymatgen and dependencies - # run: | - # micromamba activate abipy - # pip install --editable '.[${{ matrix.config.extras }}]' + - name: Installing abinit from conda-forge + run: | + micromamba run -n abipy install abinit -c conda-forge + abinit --version + abinit --build - name: pytest split ${{ matrix.split }} run: |