Skip to content

Commit

Permalink
Use miniforge for gsl install and install other dependencies via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Jan 31, 2024
1 parent fa4351d commit a6b2fd0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,14 @@ jobs:
with:
auto-update-conda: true
auto-activate-base: false
channels: conda-forge,defaults
channel-priority: true
miniforge-version: latest
activate-environment: 'test_env'
python-version: ${{ matrix.python-version }}

- name: Install Brian2 and dependencies
run: |
conda install -n test_env --quiet --yes -c conda-forge pip pytest cython sympy future pyparsing numpy jinja2 six scipy sphinx gsl coverage
pip install .
conda install --quiet --yes pip gsl
python -m pip install .[tests] coverage
- name: Run Tests
run: |
Expand Down Expand Up @@ -130,8 +129,7 @@ jobs:
with:
auto-update-conda: true
auto-activate-base: false
channels: conda-forge,defaults
channel-priority: true
miniforge-version: latest
activate-environment: 'test_env'
python-version: "${{ needs.get_python_versions.outputs.max-python }}"

Expand Down

0 comments on commit a6b2fd0

Please sign in to comment.