Skip to content

Commit

Permalink
Install abinit
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jul 21, 2024
1 parent b3d47ae commit de85257
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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: |
Expand Down

0 comments on commit de85257

Please sign in to comment.