Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 20, 2024
1 parent 71747df commit c76bbc0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
- 'test*'
- 'alltest*'
- 'action*'
tags:
- '*'
pull_request:
Expand Down Expand Up @@ -45,13 +46,16 @@ jobs:
- name: Set up Miniconda
if: matrix.pydist == 'ANACONDA'
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
packages: |
scipy matplotlib cython PyYAML dill coverage pytest pandas mpi4py openmpi
- name: Install mpi
if: matrix.pydist != 'ANACONDA'
uses: mpi4py/setup-mpi@v1

- name: Install mpi4py
run: |
pip install mpi4py -i https://pypi.anaconda.org/mpi4py/simple
with:
mpi: openmpi

- name: Cache dependencies
uses: actions/cache@v2
Expand All @@ -67,12 +71,12 @@ jobs:
- name: Install dependencies (pip)
if: matrix.pydist != 'ANACONDA'
run: |
pip install mpi4py -i https://pypi.anaconda.org/mpi4py/simple
pip install -r requirements.txt pytest-xdist pytest-cov flaky matplotlib dill coverage flake8 iminuit numba
- name: Install dependencies (Anaconda)
if: matrix.pydist == 'ANACONDA'
run: |
conda install scipy matplotlib cython PyYAML dill coverage pytest pandas
conda install -c conda-forge iminuit
pip install -r requirements.txt flake8 flaky pytest-xdist pytest-cov camb
Expand Down

0 comments on commit c76bbc0

Please sign in to comment.