Skip to content

depend on fixed glia with missing appdirs #77

depend on fixed glia with missing appdirs

depend on fixed glia with missing appdirs #77

Workflow file for this run

name: Build and test Patch
on: [push]
jobs:
build:
name: build py${{ matrix.py }}, NEURON ${{ matrix.nrn }}
runs-on: ubuntu-latest
strategy:
matrix:
py: ["3.8", "3.9"]
nrn: ["8.0.0", "8.1.0", "8.2.0"]
include:
- nrn: "8.2.0"
py: "3.10"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py }}
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install openmpi-bin libopenmpi-dev
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies & self
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt --prefer-binary
pip install NEURON==${{ matrix.nrn }}
pip install -e .
- name: Run tests & coverage
run: |
cd tests
coverage run --parallel-mode -m unittest discover -v -s ./separate
coverage run --parallel-mode -m unittest discover -v -s .
mpiexec -n 2 coverage run --parallel-mode -m unittest discover -v -s .
bash <(curl -s https://codecov.io/bash)