Skip to content

Commit

Permalink
test.yml'
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jul 21, 2024
1 parent 220f9dc commit 581b613
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
extras: ci,optional
- os: ubuntu-latest
python: '>3.9'
resolution: lowest-direct
resolution: highest
extras: ci,optional
- os: macos-latest
python: '3.10'
resolution: lowest-direct
resolution: highest
extras: ci # test with only required dependencies installed

# pytest-split automatically distributes work load so parallel jobs finish in similar time
Expand All @@ -62,18 +62,13 @@ jobs:
run: |
micromamba create -n abipy python=${{ matrix.config.python }} --yes
- name: Install uv
run: micromamba run -n abipy pip install uv

#- name: Install ubuntu-only conda dependencies
# if: matrix.config.os == 'ubuntu-latest'
# run: |
# micromamba install -n abipy -c conda-forge enumlib packmol bader openbabel openff-toolkit --yes
#- name: Install uv
# run: micromamba run -n abipy pip install uv

- name: Install pymatgen and dependencies
run: |
micromamba activate abipy
uv pip install --editable '.[${{ matrix.config.extras }}]' --resolution=${{ matrix.config.resolution }}
pip install --editable '.[${{ matrix.config.extras }}]' --resolution=${{ matrix.config.resolution }}
- name: pytest split ${{ matrix.split }}
run: |
Expand Down

0 comments on commit 581b613

Please sign in to comment.